mirror of
https://github.com/lucko/LuckPerms.git
synced 2025-09-26 05:49:00 +02:00
Attempt to fix issue with user instances being unloaded for online players on Bungee (#2238, #2225, #2107 & more)
This commit is contained in:
@@ -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();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user