Fixed sprinting while breaking a painting edge case. Fixes BUKKIT-740

This commit is contained in:
EvilSeph
2012-02-13 00:40:32 -05:00
parent 9b10970f6b
commit 1c28c946fa
3 changed files with 20 additions and 10 deletions

View File

@@ -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 {