From a06420eae3e8f4edc34ca0dd06b3c8be72095fad Mon Sep 17 00:00:00 2001 From: MagicBot Date: Fri, 13 Jan 2023 14:19:01 -0500 Subject: [PATCH] Early exit for errant mines at bootstrap. Wtb method extract. --- src/engine/objects/Mine.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/engine/objects/Mine.java b/src/engine/objects/Mine.java index 4a61efba..b9c68ca5 100644 --- a/src/engine/objects/Mine.java +++ b/src/engine/objects/Mine.java @@ -225,6 +225,11 @@ try{ Guild nation = null; + // If errant use mine stays open. + + if (this.owningGuild == null || this.owningGuild.isErrant() == true) + return; + if (this.owningGuild != null) nation = this.owningGuild.getNation();