diff options
author | Erik Broes <erikbroes@grum.nl> | 2011-03-26 22:32:56 +0100 |
---|---|---|
committer | Erik Broes <erikbroes@grum.nl> | 2011-03-26 22:32:56 +0100 |
commit | e24b10dfd9d3b716b3c11ce46efd8caf54d52694 (patch) | |
tree | ab98237ae50bea2b7b1dec6f9445d9685c4cb4db /src/main/java/net/minecraft/server/EntityFireball.java | |
parent | 47497aa3f93083ce7d51a1509d03dd8ceb074bcf (diff) | |
download | craftbukkit-e24b10dfd9d3b716b3c11ce46efd8caf54d52694.tar craftbukkit-e24b10dfd9d3b716b3c11ce46efd8caf54d52694.tar.gz craftbukkit-e24b10dfd9d3b716b3c11ce46efd8caf54d52694.tar.lz craftbukkit-e24b10dfd9d3b716b3c11ce46efd8caf54d52694.tar.xz craftbukkit-e24b10dfd9d3b716b3c11ce46efd8caf54d52694.zip |
Updated for the cleanups done in Bukkit
Diffstat (limited to 'src/main/java/net/minecraft/server/EntityFireball.java')
-rw-r--r-- | src/main/java/net/minecraft/server/EntityFireball.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/net/minecraft/server/EntityFireball.java b/src/main/java/net/minecraft/server/EntityFireball.java index 252a9a72..5c1b3705 100644 --- a/src/main/java/net/minecraft/server/EntityFireball.java +++ b/src/main/java/net/minecraft/server/EntityFireball.java @@ -149,9 +149,8 @@ public class EntityFireball extends Entity { } CraftServer server = ((WorldServer) this.world).getServer(); - org.bukkit.event.Event.Type eventType = ExplosionPrimeEvent.Type.EXPLOSION_PRIME; - ExplosionPrimeEvent event = new ExplosionPrimeEvent(eventType, CraftEntity.getEntity(server, this), 1.0F, false); + ExplosionPrimeEvent event = new ExplosionPrimeEvent(CraftEntity.getEntity(server, this), 1.0F, false); server.getPluginManager().callEvent(event); if (!event.isCancelled()) { // give 'this' instead of (Entity) null so we know what causes the damage |