Merge pull request #377 from elBukkit/IgnoreCancelledDropEvents

Ignore cancelled PlayerDropItemEvent events
This commit is contained in:
garbagemule 2017-05-29 09:07:11 +02:00 committed by GitHub
commit d58ec23daf

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