rename method to isEmptyGuild() so as not to confuse with GuildState.

This commit is contained in:
2023-01-21 09:28:30 -05:00
parent 2fac480117
commit 825f41e469
28 changed files with 71 additions and 77 deletions
@@ -68,7 +68,7 @@ public class InviteToSubHandler extends AbstractClientMsgHandler {
return true;
}
if (sourceGuild.isErrant()){
if (sourceGuild.isEmptyGuild()){
sendChat(source, "You must be in a guild to invite to sub.");
return true;
}
@@ -80,7 +80,7 @@ public class InviteToSubHandler extends AbstractClientMsgHandler {
return true;
}
if (sourceGuild.getNation().isErrant())
if (sourceGuild.getNation().isEmptyGuild())
return true;
//target must be in a guild