Fixed fireball explosions not producing fire.

This commit is contained in:
EvilSeph
2011-06-10 18:34:12 -04:00
parent a9e7b56ef2
commit 80770314d8
2 changed files with 3 additions and 2 deletions

View File

@@ -151,7 +151,7 @@ public class EntityFireball extends Entity {
CraftServer server = ((WorldServer) this.world).getServer();
ExplosionPrimeEvent event = new ExplosionPrimeEvent(CraftEntity.getEntity(server, this), 1.0F, false);
ExplosionPrimeEvent event = new ExplosionPrimeEvent(CraftEntity.getEntity(server, this), 1.0F, true);
server.getPluginManager().callEvent(event);
if (!event.isCancelled()) {
// give 'this' instead of (Entity) null so we know what causes the damage