From 8016bf2dd02d960cc831a05bfb9112f91948fa57 Mon Sep 17 00:00:00 2001 From: Nathan Adams Date: Fri, 2 Mar 2012 19:55:41 +0000 Subject: [PATCH] Fixed punching out fire in creative - this fixes BUKKIT-914, thanks to md-5 --- src/main/java/net/minecraft/server/ItemInWorldManager.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/net/minecraft/server/ItemInWorldManager.java b/src/main/java/net/minecraft/server/ItemInWorldManager.java index 743411fa8b..f0a8c89d6c 100644 --- a/src/main/java/net/minecraft/server/ItemInWorldManager.java +++ b/src/main/java/net/minecraft/server/ItemInWorldManager.java @@ -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);