TNT now gives its entity to the damage handler
Dieser Commit ist enthalten in:
Ursprung
b6f87bb23c
Commit
41752f401c
@ -75,7 +75,8 @@ public class EntityTNTPrimed extends Entity {
|
|||||||
server.getPluginManager().callEvent(event);
|
server.getPluginManager().callEvent(event);
|
||||||
|
|
||||||
if (!event.isCancelled()) {
|
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
|
// CraftBukkit end
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren