From 3a35118bb90378d8f633f87d9a2cc2c45d66207b Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Mon, 7 Jan 2019 20:39:42 -0500 Subject: [PATCH] Update to latest mappings --- build.gradle | 9 ++++----- .../simplemultipart/mixin/client/MixinDebugHud.java | 2 +- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/build.gradle b/build.gradle index 2a5bbd4..75d32d1 100644 --- a/build.gradle +++ b/build.gradle @@ -20,12 +20,11 @@ repositories { dependencies { minecraft "com.mojang:minecraft:18w50a" -// mappings "net.fabricmc:yarn:18w50a.80" - mappings "net.fabricmc:yarn:18w50a.local" // temporary until yarn #369 - modCompile "net.fabricmc:fabric-loader:0.3.1.80" + mappings "net.fabricmc:yarn:18w50a.91" + modCompile "net.fabricmc:fabric-loader:0.3.2.91" // Fabric API. This is technically optional, but you probably want it anyway. - modCompile "net.fabricmc:fabric:0.1.3.68" + modCompile "net.fabricmc:fabric:0.1.4.69" } // Loom will automatically attach sourcesJar to a RemapSourcesJar task and to the "build" task @@ -34,4 +33,4 @@ dependencies { task sourcesJar(type: Jar, dependsOn: classes) { classifier = 'sources' from sourceSets.main.allSource -} \ No newline at end of file +} diff --git a/src/main/java/net/shadowfacts/simplemultipart/mixin/client/MixinDebugHud.java b/src/main/java/net/shadowfacts/simplemultipart/mixin/client/MixinDebugHud.java index 93673e1..b15a21b 100644 --- a/src/main/java/net/shadowfacts/simplemultipart/mixin/client/MixinDebugHud.java +++ b/src/main/java/net/shadowfacts/simplemultipart/mixin/client/MixinDebugHud.java @@ -34,7 +34,7 @@ public abstract class MixinDebugHud { @Shadow public abstract String method_1845(Map.Entry, Comparable> map$Entry_1); - @Inject(method = "method_1839", at = @At("RETURN")) + @Inject(method = "getRightText", at = @At("RETURN")) public void method_1839(CallbackInfoReturnable> info) { if (!client.hasReducedDebugInfo() && blockHit != null && blockHit.type == HitResult.Type.BLOCK) { BlockEntity entity = client.world.getBlockEntity(blockHit.getBlockPos());