Ignore cancelled PlayerDropItemEvent events

This commit is contained in:
Nathan Wolf 2017-05-24 16:57:52 -07:00
parent 9bb7bc1f11
commit d6ec23025a

View File

@ -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())