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
@@ -85,7 +85,7 @@ public class ClaimGuildTreeMsgHandler extends AbstractClientMsgHandler {
// Errant players cannot rename
if (sourcePlayer.getGuild().isErrant())
if (sourcePlayer.getGuild().isEmptyGuild())
return true;
// Can't rename an object without a blueprint
@@ -100,7 +100,7 @@ public class ClaimGuildTreeMsgHandler extends AbstractClientMsgHandler {
return true;
//dont rename if guild is null
if (building.getGuild().isErrant())
if (building.getGuild().isEmptyGuild())
return true;
if (!ManageCityAssetMsgHandler.playerCanManageNotFriends(sourcePlayer, building))
@@ -131,7 +131,7 @@ public class ClaimGuildTreeMsgHandler extends AbstractClientMsgHandler {
return true;
}
if (building.getGuild().isErrant())
if (building.getGuild().isEmptyGuild())
return true;