replace == "LORE" with .equals("LORE")

This commit is contained in:
2024-04-28 11:58:55 -05:00
parent 753c3686ea
commit 10db850de4
7 changed files with 13 additions and 13 deletions
@@ -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);
}