diff --git a/src/com/jdh/microcraft/entity/EntityPlayer.java b/src/com/jdh/microcraft/entity/EntityPlayer.java index cbfa6be..7009abc 100644 --- a/src/com/jdh/microcraft/entity/EntityPlayer.java +++ b/src/com/jdh/microcraft/entity/EntityPlayer.java @@ -239,8 +239,8 @@ public void tick() { dx++; } - if (!this.swimming || Global.ticks % 2 == 0) { - this.move(dx, dy); + if ((!this.swimming || Global.ticks % 2 == 0) && (dx == 0 || dy == 0)) { + this.move(dx, dy); } // override entity direction, the player should be able to change their