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
+1 -1
View File
@@ -262,7 +262,7 @@ public class NPC extends AbstractCharacter {
else
this.guild = Guild.getGuild(guildID);
if (guildID != 0 && (this.guild == null || this.guild.isErrant()))
if (guildID != 0 && (this.guild == null || this.guild.isEmptyGuild()))
NPC.Oprhans.add(currentID);
else if(this.building == null && buildingID > 0) {
NPC.Oprhans.add(currentID);