forked from TuxCoding/FastLogin
Fixed 'allowFloodgateNameConflict' for 'false' value.
This commit is contained in:
@ -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());
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user