mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-11-24 11:38:40 +01:00
Listen to PlayerQuit on monitor priority
This commit is contained in:
parent
27f6f225c9
commit
1275d0023d
@ -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());
|
||||||
|
Loading…
Reference in New Issue
Block a user