rename method to isEmptyGuild() so as not to confuse with GuildState.
This commit is contained in:
1 parent
2fac480117
commit
825f41e469
28 files changed
+71
-77
No files matched your search
@@ -129,12 +129,12 @@ public class MerchantMsgHandler extends AbstractClientMsgHandler {
|
||||
return;
|
||||
}
|
||||
|
||||
if (player.getGuild().isErrant()){
|
||||
if (player.getGuild().isEmptyGuild()){
|
||||
ErrorPopupMsg.sendErrorMsg(player, "You do not belong to a guild!"); //Cannot sub as errant guild.
|
||||
return;
|
||||
}
|
||||
|
||||
if (player.getGuild().getNation() != null && !player.getGuild().getNation().isErrant()){
|
||||
if (player.getGuild().getNation() != null && !player.getGuild().getNation().isEmptyGuild()){
|
||||
ErrorPopupMsg.sendErrorMsg(player, "You already belong to a nation!"); //Cannot sub as errant guild.
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user