replace == "LORE" with .equals("LORE")
This commit is contained in:
@@ -68,7 +68,7 @@ public class LeaveGuildHandler extends AbstractClientMsgHandler {
|
||||
ChatManager.chatGuildInfo(oldGuild, playerCharacter.getFirstName() + " has left the guild.");
|
||||
|
||||
oldGuild.removePlayer(playerCharacter, GuildHistoryType.LEAVE);
|
||||
if (ConfigManager.MB_RULESET.getValue() == "LORE") {
|
||||
if (ConfigManager.MB_RULESET.getValue().equals("LORE")) {
|
||||
if (GroupManager.getGroup(playerCharacter) != null)
|
||||
GroupManager.getGroup(playerCharacter).removeGroupMember(playerCharacter);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user