summaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/net/minecraft/server/ItemInWorldManager.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/ItemInWorldManager.java b/src/main/java/net/minecraft/server/ItemInWorldManager.java
index be652eb4..1fd6c75e 100644
--- a/src/main/java/net/minecraft/server/ItemInWorldManager.java
+++ b/src/main/java/net/minecraft/server/ItemInWorldManager.java
@@ -51,7 +51,6 @@ public class ItemInWorldManager {
}
public void dig(int i, int j, int k, int l) {
- this.world.a((EntityHuman) null, i, j, k, l);
this.d = (int) (System.currentTimeMillis() / 50); // CraftBukkit
int i1 = this.world.getTypeId(i, j, k);
@@ -73,6 +72,8 @@ public class ItemInWorldManager {
}
} else {
Block.byId[i1].b(this.world, i, j, k, this.player);
+ // Allow fire punching to be blocked
+ this.world.a((EntityHuman) null, i, j, k, l);
}
// Handle hitting a block