diff options
-rw-r--r-- | src/main/java/net/minecraft/server/EntityTNTPrimed.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/EntityTNTPrimed.java b/src/main/java/net/minecraft/server/EntityTNTPrimed.java index 4adbd862..2d833f73 100644 --- a/src/main/java/net/minecraft/server/EntityTNTPrimed.java +++ b/src/main/java/net/minecraft/server/EntityTNTPrimed.java @@ -75,7 +75,8 @@ public class EntityTNTPrimed extends Entity { server.getPluginManager().callEvent(event); if (!event.isCancelled()) { - this.world.a((Entity) null, this.locX, this.locY, this.locZ, event.getRadius(), event.getFire()); + // give 'this' instead of (Entity) null so we know what causes the damage + this.world.a(this, this.locX, this.locY, this.locZ, event.getRadius(), event.getFire()); } // CraftBukkit end } |