Update to latest mappings

This commit is contained in:
Shadowfacts 2019-01-07 20:39:42 -05:00
parent 4ca4c47ec1
commit 3a35118bb9
Signed by: shadowfacts
GPG Key ID: 94A5AB95422746E5
2 changed files with 5 additions and 6 deletions

View File

@ -20,12 +20,11 @@ repositories {
dependencies { dependencies {
minecraft "com.mojang:minecraft:18w50a" minecraft "com.mojang:minecraft:18w50a"
// mappings "net.fabricmc:yarn:18w50a.80" mappings "net.fabricmc:yarn:18w50a.91"
mappings "net.fabricmc:yarn:18w50a.local" // temporary until yarn #369 modCompile "net.fabricmc:fabric-loader:0.3.2.91"
modCompile "net.fabricmc:fabric-loader:0.3.1.80"
// Fabric API. This is technically optional, but you probably want it anyway. // 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 // Loom will automatically attach sourcesJar to a RemapSourcesJar task and to the "build" task

View File

@ -34,7 +34,7 @@ public abstract class MixinDebugHud {
@Shadow @Shadow
public abstract String method_1845(Map.Entry<Property<?>, Comparable<?>> map$Entry_1); public abstract String method_1845(Map.Entry<Property<?>, Comparable<?>> map$Entry_1);
@Inject(method = "method_1839", at = @At("RETURN")) @Inject(method = "getRightText", at = @At("RETURN"))
public void method_1839(CallbackInfoReturnable<List<String>> info) { public void method_1839(CallbackInfoReturnable<List<String>> info) {
if (!client.hasReducedDebugInfo() && blockHit != null && blockHit.type == HitResult.Type.BLOCK) { if (!client.hasReducedDebugInfo() && blockHit != null && blockHit.type == HitResult.Type.BLOCK) {
BlockEntity entity = client.world.getBlockEntity(blockHit.getBlockPos()); BlockEntity entity = client.world.getBlockEntity(blockHit.getBlockPos());