diff --git a/build.gradle b/build.gradle index e323e4a74..b9c6d9137 100755 --- a/build.gradle +++ b/build.gradle @@ -85,7 +85,7 @@ task sourceJar(type: Jar, dependsOn: classes) { } minecraft { - mappings channel: 'snapshot', version: '20200213-1.15.1' + mappings channel: 'snapshot', version: '20200515-1.15.1' if (getProject().hasProperty("baritone.forge_build")) { reobfMappings 'searge' diff --git a/src/launch/java/baritone/launch/mixins/MixinCommandSuggestionHelper.java b/src/launch/java/baritone/launch/mixins/MixinCommandSuggestionHelper.java index 3ed72c27c..d749c35b8 100644 --- a/src/launch/java/baritone/launch/mixins/MixinCommandSuggestionHelper.java +++ b/src/launch/java/baritone/launch/mixins/MixinCommandSuggestionHelper.java @@ -55,7 +55,7 @@ public class MixinCommandSuggestionHelper { private CompletableFuture field_228107_p_; @Inject( - method = "func_228111_a_", + method = "init", at = @At("HEAD"), cancellable = true ) diff --git a/src/main/java/baritone/utils/PlayerMovementInput.java b/src/main/java/baritone/utils/PlayerMovementInput.java index c81a90b19..247fda702 100644 --- a/src/main/java/baritone/utils/PlayerMovementInput.java +++ b/src/main/java/baritone/utils/PlayerMovementInput.java @@ -33,7 +33,7 @@ public class PlayerMovementInput extends MovementInput { this.moveStrafe = 0.0F; this.moveForward = 0.0F; - jump = handler.isInputForcedDown(Input.JUMP); // oppa gangnam style + this.jump = handler.isInputForcedDown(Input.JUMP); // oppa gangnam style if (this.forwardKeyDown = handler.isInputForcedDown(Input.MOVE_FORWARD)) { this.moveForward++; @@ -51,7 +51,7 @@ public class PlayerMovementInput extends MovementInput { this.moveStrafe--; } - if (this.field_228350_h_ = handler.isInputForcedDown(Input.SNEAK)) { + if (this.sneaking = handler.isInputForcedDown(Input.SNEAK)) { this.moveStrafe *= 0.3D; this.moveForward *= 0.3D; }