From d6ec23025aea72b5552e842a5021def8b7f0df21 Mon Sep 17 00:00:00 2001 From: Nathan Wolf Date: Wed, 24 May 2017 16:57:52 -0700 Subject: [PATCH] Ignore cancelled PlayerDropItemEvent events --- .../com/garbagemule/MobArena/listeners/MAGlobalListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/garbagemule/MobArena/listeners/MAGlobalListener.java b/src/main/java/com/garbagemule/MobArena/listeners/MAGlobalListener.java index ec0b881..17deb04 100644 --- a/src/main/java/com/garbagemule/MobArena/listeners/MAGlobalListener.java +++ b/src/main/java/com/garbagemule/MobArena/listeners/MAGlobalListener.java @@ -280,7 +280,7 @@ public class MAGlobalListener implements Listener arena.getEventListener().onPlayerCommandPreprocess(event); } - @EventHandler(priority = EventPriority.NORMAL) + @EventHandler(priority = EventPriority.NORMAL, ignoreCancelled = true) public void playerDropItem(PlayerDropItemEvent event) { if (!am.isEnabled()) return; for (Arena arena : am.getArenas())