diff --git a/bukkit/src/main/java/com/github/games647/fastlogin/bukkit/task/FloodgateAuthTask.java b/bukkit/src/main/java/com/github/games647/fastlogin/bukkit/task/FloodgateAuthTask.java index 3d39d252..c20d2ada 100644 --- a/bukkit/src/main/java/com/github/games647/fastlogin/bukkit/task/FloodgateAuthTask.java +++ b/bukkit/src/main/java/com/github/games647/fastlogin/bukkit/task/FloodgateAuthTask.java @@ -39,7 +39,9 @@ public class FloodgateAuthTask implements Runnable { player.kickPlayer("This name is allready in use by a Premium Java Player"); } - if (!allowNameConflict.equalsIgnoreCase("true") && !allowNameConflict.equalsIgnoreCase("linked")) { + if (!allowNameConflict.equalsIgnoreCase("true") + && !allowNameConflict.equalsIgnoreCase("linked") + && !allowNameConflict.equalsIgnoreCase("false")) { plugin.getLog().error( "Invalid value detected for 'allowFloodgateNameConflict' in FasttLogin/config.yml. Aborting login of Player {}", player.getName()); diff --git a/core/src/main/resources/config.yml b/core/src/main/resources/config.yml index 3d0f12eb..dfc8dc65 100644 --- a/core/src/main/resources/config.yml +++ b/core/src/main/resources/config.yml @@ -197,8 +197,8 @@ autoLogin: true # !!! DO NOT REMOVE THE APOSTROPHE !!! autoLoginFloodgate: 'false' -# This enables Floodgate players to join the server, even if autoRegister is true and there's an existing Java Premium -# account with the same name +# This enables Floodgate players to join the server, even if autoRegister is true and there's an existing +# Java **PREMIUM** account with the same name # Possible values: # false: Check for Premium Java name conflicts as described in 'autoRegister' # 'autoRegister' must be 'true' for this to work