From df7a106237e07f8e7a09931c2e8352a1db14f62f Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Wed, 1 Jan 2025 09:07:33 -0600 Subject: [PATCH] bane commander dialog reset options --- src/engine/objects/Contract.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/objects/Contract.java b/src/engine/objects/Contract.java index 4eafcdb1..dc50e15f 100644 --- a/src/engine/objects/Contract.java +++ b/src/engine/objects/Contract.java @@ -211,7 +211,7 @@ public class Contract extends AbstractGameObject { int treesInNation = 0; if(building != null) { - City city = ZoneManager.getCityAtLocation(npc.loc); + City city = ZoneManager.getCityAtLocation(building.loc); if(city != null){ bane = city.getBane(); if(!city.getGuild().equals(pc.guild))