Fix listener priorities (again). Fixes PC-370

This commit is contained in:
samczsun 2016-05-24 16:04:15 -04:00
parent 2680c2b244
commit 2991bec44d
No known key found for this signature in database
GPG Key ID: B0AFDBD87206805D
3 changed files with 3 additions and 3 deletions

View File

@ -73,7 +73,7 @@ public class MurderManager extends MiniClientPlugin<ClientMurder>
}
}
@EventHandler
@EventHandler (ignoreCancelled = true)
public void onPickup(PlayerPickupItemEvent event)
{
refreshClient(event.getPlayer());

View File

@ -131,7 +131,7 @@ public class ObserverManager extends MiniPlugin
}
}
@EventHandler
@EventHandler (priority = EventPriority.LOWEST)
public void onPickup(PlayerPickupItemEvent event)
{
ObserverData data = _observerMap.get(event.getPlayer());

View File

@ -113,7 +113,7 @@ public class GoldManager extends MiniPlugin
}
}
@EventHandler
@EventHandler (ignoreCancelled = true)
public void onPickup(PlayerPickupItemEvent event)
{
if (_itemSet.contains(event.getItem()))