rename method to isEmptyGuild() so as not to confuse with GuildState.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user