From ad9908fda1d922debfe35b89fe6c1ffcff79af13 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Thu, 19 Jan 2023 17:34:45 -0500 Subject: [PATCH] Nation cannot be errant. --- src/engine/objects/Mine.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/engine/objects/Mine.java b/src/engine/objects/Mine.java index 5ff0f1fe..8b9999ae 100644 --- a/src/engine/objects/Mine.java +++ b/src/engine/objects/Mine.java @@ -390,6 +390,9 @@ public class Mine extends AbstractGameObject { if (playerGuild.isErrant()) return false; + if (playerGuild.getNation().isErrant()) + return false; + if (SessionManager.getPlayerCharacterByID(playerCharacter.getObjectUUID()) == null) return false;