mirror of
https://github.com/garbagemule/MobArena.git
synced 2025-01-10 18:38:03 +01:00
Merge pull request #377 from elBukkit/IgnoreCancelledDropEvents
Ignore cancelled PlayerDropItemEvent events
This commit is contained in:
commit
d58ec23daf
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user