diff --git a/core/src/main/java/com/github/games647/fastlogin/core/shared/JoinManagement.java b/core/src/main/java/com/github/games647/fastlogin/core/shared/JoinManagement.java index c8ed677e..e10b2d09 100644 --- a/core/src/main/java/com/github/games647/fastlogin/core/shared/JoinManagement.java +++ b/core/src/main/java/com/github/games647/fastlogin/core/shared/JoinManagement.java @@ -77,13 +77,11 @@ public abstract class JoinManagement

{ core.getPlugin().getLog().info("Requesting premium login for registered player: {}", username); requestPremiumLogin(source, profile, username, true); } else { - if(!FloodgateApi.getInstance().getPlayerPrefix().isEmpty()){ - if (profile.getName().startsWith(FloodgateApi.getInstance().getPlayerPrefix())) { + if (profile.getName().startsWith(FloodgateApi.getInstance().getPlayerPrefix())&&!FloodgateApi.getInstance().getPlayerPrefix().isEmpty()) { core.getPlugin().getLog().info("Floodgate Prefix detected on cracked player"); source.kick("Your username contains illegal characters"); return; } - } startCrackedSession(source, profile, username); } } else {