diff options
author | EvilSeph <evilseph@gmail.com> | 2012-02-13 00:40:32 -0500 |
---|---|---|
committer | EvilSeph <evilseph@gmail.com> | 2012-02-13 00:40:32 -0500 |
commit | 1c28c946fa36623aeb5d341061438fe112fdf84e (patch) | |
tree | 22051ad95a58912eeb012a0a34f7064c0331a4bb /src/main/java/net/minecraft/server/EntityBoat.java | |
parent | 9b10970f6b42fdc38409c31a9010653c18838678 (diff) | |
download | craftbukkit-1c28c946fa36623aeb5d341061438fe112fdf84e.tar craftbukkit-1c28c946fa36623aeb5d341061438fe112fdf84e.tar.gz craftbukkit-1c28c946fa36623aeb5d341061438fe112fdf84e.tar.lz craftbukkit-1c28c946fa36623aeb5d341061438fe112fdf84e.tar.xz craftbukkit-1c28c946fa36623aeb5d341061438fe112fdf84e.zip |
Fixed sprinting while breaking a painting edge case. Fixes BUKKIT-740
Diffstat (limited to 'src/main/java/net/minecraft/server/EntityBoat.java')
-rw-r--r-- | src/main/java/net/minecraft/server/EntityBoat.java | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/main/java/net/minecraft/server/EntityBoat.java b/src/main/java/net/minecraft/server/EntityBoat.java index f88870b7..69d5f7cb 100644 --- a/src/main/java/net/minecraft/server/EntityBoat.java +++ b/src/main/java/net/minecraft/server/EntityBoat.java @@ -308,17 +308,17 @@ public class EntityBoat extends Entity { if (!destroyEvent.isCancelled()) { // CraftBukkit end - this.die(); + this.die(); - int k; + int k; - for (k = 0; k < 3; ++k) { - this.a(Block.WOOD.id, 1, 0.0F); - } + for (k = 0; k < 3; ++k) { + this.a(Block.WOOD.id, 1, 0.0F); + } - for (k = 0; k < 2; ++k) { - this.a(Item.STICK.id, 1, 0.0F); - } + for (k = 0; k < 2; ++k) { + this.a(Item.STICK.id, 1, 0.0F); + } } // CraftBukkit } } else { |