From 2fd896508b04a6f67091c94bf40981e2fcc1a0b8 Mon Sep 17 00:00:00 2001 From: Luck Date: Tue, 28 Apr 2020 13:46:17 +0100 Subject: [PATCH] Attempt to fix issue with user instances being unloaded for online players on Bungee (#2238, #2225, #2107 & more) --- .../main/java/me/lucko/luckperms/bungee/LPBungeeBootstrap.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bungee/src/main/java/me/lucko/luckperms/bungee/LPBungeeBootstrap.java b/bungee/src/main/java/me/lucko/luckperms/bungee/LPBungeeBootstrap.java index 61ab52202..86c6d833a 100644 --- a/bungee/src/main/java/me/lucko/luckperms/bungee/LPBungeeBootstrap.java +++ b/bungee/src/main/java/me/lucko/luckperms/bungee/LPBungeeBootstrap.java @@ -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; } }