forked from MagicBane/Server
replace == "LORE" with .equals("LORE")
This commit is contained in:
@@ -112,7 +112,7 @@ public class InviteToSubHandler extends AbstractClientMsgHandler {
|
||||
sendChat(source, "This Guild can't be subbed.");
|
||||
return true;
|
||||
}
|
||||
if (ConfigManager.MB_RULESET.getValue() == "LORE") {
|
||||
if (ConfigManager.MB_RULESET.getValue().equals("LORE")) {
|
||||
if (source.guild.getGuildType().equals(target.guild.getGuildType()) == false) {
|
||||
sendChat(source, "You Must Be The Same Charter To Form A Nation.");
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user