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/Explosion.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/Explosion.java')
-rw-r--r-- | src/main/java/net/minecraft/server/Explosion.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/net/minecraft/server/Explosion.java b/src/main/java/net/minecraft/server/Explosion.java index 9f570578..f4afea11 100644 --- a/src/main/java/net/minecraft/server/Explosion.java +++ b/src/main/java/net/minecraft/server/Explosion.java @@ -201,8 +201,7 @@ public class Explosion { } } - org.bukkit.event.Event.Type eventType = EntityExplodeEvent.Type.ENTITY_EXPLODE; - EntityExplodeEvent event = new EntityExplodeEvent(eventType, explode, location, blockList); + EntityExplodeEvent event = new EntityExplodeEvent(explode, location, blockList); server.getPluginManager().callEvent(event); if (event.isCancelled()) { |