diff --git a/src/engine/objects/Mine.java b/src/engine/objects/Mine.java index b1b0af8d..f4b5ae29 100644 --- a/src/engine/objects/Mine.java +++ b/src/engine/objects/Mine.java @@ -103,10 +103,11 @@ public class Mine extends AbstractGameObject { this.owningGuild = Guild.getGuild(ownerUID); Guild nation = null; - if (!this.owningGuild.isErrant()) { - this.guildName = this.owningGuild.getName(); - this.guildTag = this.owningGuild.getGuildTag(); - nation = this.owningGuild.getNation(); + if (this.owningGuild.isErrant()) { + this.guildName = ""; + this.guildTag = GuildTag.ERRANT; + nation = Guild.getErrantGuild(); + this.owningGuild = Guild.getErrantGuild(); this.setActive(true); } else { this.guildName = ""; @@ -114,6 +115,11 @@ public class Mine extends AbstractGameObject { nation = Guild.getErrantGuild(); this.owningGuild = Guild.getErrantGuild(); this.setActive(false); + + this.guildName = this.owningGuild.getName(); + this.guildTag = this.owningGuild.getGuildTag(); + nation = this.owningGuild.getNation(); + this.setActive(false); } if (!nation.isErrant()) {