forked from MagicBane/Server
replace == "LORE" with .equals("LORE")
This commit is contained in:
@@ -69,7 +69,7 @@ public class SendSummonsMsgHandler extends AbstractClientMsgHandler {
|
||||
|
||||
return true;
|
||||
}
|
||||
if (ConfigManager.MB_RULESET.getValue() == "LORE") {
|
||||
if (ConfigManager.MB_RULESET.getValue().equals("LORE")) {
|
||||
if (playerCharacter.guild.getGuildType().equals(target.guild.getGuildType()) == false) {
|
||||
ChatManager.chatInfoError(playerCharacter,
|
||||
"Cannot summon player outside your charter.");
|
||||
|
||||
Reference in New Issue
Block a user