summaryrefslogtreecommitdiffstats
path: root/nms-patches/EntityCreeper.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/EntityCreeper.patch')
-rw-r--r--nms-patches/EntityCreeper.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/nms-patches/EntityCreeper.patch b/nms-patches/EntityCreeper.patch
index 11864322..b29ed0a4 100644
--- a/nms-patches/EntityCreeper.patch
+++ b/nms-patches/EntityCreeper.patch
@@ -56,7 +56,7 @@
- this.aU = true;
- this.world.explode(this, this.locX, this.locY, this.locZ, (float) this.explosionRadius * f, flag);
- this.die();
-- this.dq();
+- this.ds();
+ // CraftBukkit start
+ ExplosionPrimeEvent event = new ExplosionPrimeEvent(this.getBukkitEntity(), this.explosionRadius * f, false);
+ this.world.getServer().getPluginManager().callEvent(event);
@@ -64,7 +64,7 @@
+ this.aU = true;
+ this.world.createExplosion(this, this.locX, this.locY, this.locZ, event.getRadius(), event.getFire(), flag);
+ this.die();
-+ this.dq();
++ this.ds();
+ } else {
+ fuseTicks = 0;
+ }