mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-11-27 21:29:47 +01:00
Attempt to fix issue with user instances being unloaded for online players on Bungee (#2238, #2225, #2107 & more)
This commit is contained in:
parent
99348fce53
commit
2fd896508b
@ -230,7 +230,6 @@ public class LPBungeeBootstrap extends Plugin implements LuckPermsBootstrap {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean isPlayerOnline(UUID uniqueId) {
|
public boolean isPlayerOnline(UUID uniqueId) {
|
||||||
ProxiedPlayer player = getProxy().getPlayer(uniqueId);
|
return getProxy().getPlayer(uniqueId) != null;
|
||||||
return player != null && player.isConnected();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user