From f1aa3f5c68d39c47caff589198cb373b7c69f80d Mon Sep 17 00:00:00 2001 From: GJ Date: Tue, 3 Apr 2012 15:33:57 -0400 Subject: [PATCH] Fix for dupe exploit with Blast Mining --- .../java/com/gmail/nossr50/listeners/mcEntityListener.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/gmail/nossr50/listeners/mcEntityListener.java b/src/main/java/com/gmail/nossr50/listeners/mcEntityListener.java index 0f0f64119..bdd6ab2bf 100644 --- a/src/main/java/com/gmail/nossr50/listeners/mcEntityListener.java +++ b/src/main/java/com/gmail/nossr50/listeners/mcEntityListener.java @@ -175,7 +175,7 @@ public class mcEntityListener implements Listener { * * @param event The event to monitor */ - @EventHandler (priority = EventPriority.LOW) + @EventHandler (priority = EventPriority.LOW, ignoreCancelled = true) public void onExplosionPrime(ExplosionPrimeEvent event) { Entity entity = event.getEntity(); @@ -197,7 +197,7 @@ public class mcEntityListener implements Listener { * * @param event The event to monitor */ - @EventHandler (priority = EventPriority.LOW) + @EventHandler (priority = EventPriority.LOW, ignoreCancelled = true) public void onEnitityExplode(EntityExplodeEvent event) { Entity entity = event.getEntity();