diff --git a/core/src/main/java/com/github/games647/fastlogin/core/shared/FloodgateManagement.java b/core/src/main/java/com/github/games647/fastlogin/core/shared/FloodgateManagement.java index 92cae665..3b36c3ea 100644 --- a/core/src/main/java/com/github/games647/fastlogin/core/shared/FloodgateManagement.java +++ b/core/src/main/java/com/github/games647/fastlogin/core/shared/FloodgateManagement.java @@ -73,10 +73,20 @@ public abstract class FloodgateManagement

authPlugin = core.getAuthPluginHook(); - + try { - isRegistered = authPlugin.isRegistered(username); + //maybe Bungee without auth plugin + if (authPlugin == null) { + if (profile != null) { + isRegistered = profile.isPremium(); + } else { + isRegistered = false; + } + } else { + isRegistered = authPlugin.isRegistered(username); + } } catch (Exception ex) { core.getPlugin().getLog().error( "An error has occured while checking if player {} is registered", @@ -108,7 +118,6 @@ public abstract class FloodgateManagement