Fixed punching out fire in creative - this fixes BUKKIT-914, thanks to md-5

This commit is contained in:
Nathan Adams 2012-03-02 19:55:41 +00:00
parent 4ac8d68c39
commit 8016bf2dd0

View file

@ -99,7 +99,9 @@ public class ItemInWorldManager {
return;
}
// CraftBukkit end
this.breakBlock(i, j, k);
if (!this.world.douseFire((EntityHuman) null, i, j, k, l)) {
this.breakBlock(i, j, k);
}
} else {
this.lastDigTick = (int) (System.currentTimeMillis() / 50); // CraftBukkit
int i1 = this.world.getTypeId(i, j, k);