Class requirements refactored to enumset.
This commit is contained in:
1 parent
d487a9d1ab
commit
b3b6a9a913
8 files changed
+103
-66
No files matched your search
@@ -84,9 +84,9 @@ public class InviteToGuildHandler extends AbstractClientMsgHandler {
|
||||
return true;
|
||||
}
|
||||
|
||||
Enum.GuildType guildType = Enum.GuildType.values()[sourcePlayer.getGuild().getCharter()];
|
||||
Enum.GuildCharterType guildCharterType = Enum.GuildCharterType.values()[sourcePlayer.getGuild().getCharter()];
|
||||
|
||||
if (guildType == null) {
|
||||
if (guildCharterType == null) {
|
||||
ErrorPopupMsg.sendErrorPopup(sourcePlayer, GuildManager.NO_CHARTER_FOUND);
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user