Reverse increment/decrement

This commit is contained in:
Brady
2018-10-29 23:10:46 -05:00
parent 4f978be2a2
commit 71c7ed54e5
@@ -41,19 +41,19 @@ public class BotMovementInput extends MovementInput {
forward = back = left = right = jump = sneak = false; forward = back = left = right = jump = sneak = false;
if (this.forwardKeyDown = forward) { if (this.forwardKeyDown = forward) {
++this.moveForward; this.moveForward++;
} }
if (this.backKeyDown = back) { if (this.backKeyDown = back) {
--this.moveForward; this.moveForward--;
} }
if (this.leftKeyDown = left) { if (this.leftKeyDown = left) {
++this.moveStrafe; this.moveStrafe++;
} }
if (this.rightKeyDown = right) { if (this.rightKeyDown = right) {
--this.moveStrafe; this.moveStrafe--;
} }
this.jump = jump; this.jump = jump;