mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-11-24 11:38:40 +01:00
Change some listener priorities
This commit is contained in:
parent
e88ea9c13d
commit
b93145f26d
@ -96,13 +96,13 @@ public class SpongeListener extends AbstractListener {
|
||||
}
|
||||
}
|
||||
|
||||
@Listener
|
||||
@Listener(order = Order.EARLY)
|
||||
public void onClientJoin(ClientConnectionEvent.Join e) {
|
||||
// Refresh permissions again
|
||||
plugin.doAsync(() -> refreshPlayer(e.getTargetEntity().getUniqueId()));
|
||||
}
|
||||
|
||||
@Listener
|
||||
@Listener(order = Order.LAST)
|
||||
public void onClientLeave(ClientConnectionEvent.Disconnect e) {
|
||||
onLeave(e.getTargetEntity().getUniqueId());
|
||||
plugin.getService().getUserSubjects().unload(plugin.getUuidCache().getUUID(e.getTargetEntity().getUniqueId()));
|
||||
|
Loading…
Reference in New Issue
Block a user