Listen to PlayerQuit on monitor priority

This commit is contained in:
Luck 2016-10-29 22:58:06 +01:00
parent 27f6f225c9
commit 1275d0023d
No known key found for this signature in database
GPG Key ID: EFA9B3EC5FD90F8B

View File

@ -106,7 +106,7 @@ class BukkitListener extends AbstractListener implements Listener {
} }
} }
@EventHandler(priority = EventPriority.HIGHEST) // Allow other plugins to see data when this event gets called. @EventHandler(priority = EventPriority.MONITOR) // Allow other plugins to see data when this event gets called.
public void onPlayerQuit(PlayerQuitEvent e) { public void onPlayerQuit(PlayerQuitEvent e) {
final Player player = e.getPlayer(); final Player player = e.getPlayer();
final UUID internal = plugin.getUuidCache().getUUID(player.getUniqueId()); final UUID internal = plugin.getUuidCache().getUUID(player.getUniqueId());