1
0
mirror of https://github.com/lucko/LuckPerms.git synced 2025-09-25 21:38:59 +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:
Luck
2020-04-28 13:46:17 +01:00
parent 99348fce53
commit 2fd896508b

View File

@@ -230,7 +230,6 @@ public class LPBungeeBootstrap extends Plugin implements LuckPermsBootstrap {
@Override
public boolean isPlayerOnline(UUID uniqueId) {
ProxiedPlayer player = getProxy().getPlayer(uniqueId);
return player != null && player.isConnected();
return getProxy().getPlayer(uniqueId) != null;
}
}