mirror of
https://github.com/garbagemule/MobArena.git
synced 2024-11-23 11:06:14 +01:00
Ignore cancelled PlayerDropItemEvent events
This commit is contained in:
parent
9bb7bc1f11
commit
d6ec23025a
@ -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