bane commander dialog reset options

This commit is contained in:
2025-01-01 09:07:33 -06:00
parent 00b38970a1
commit df7a106237
+1 -1
View File
@@ -211,7 +211,7 @@ public class Contract extends AbstractGameObject {
int treesInNation = 0; int treesInNation = 0;
if(building != null) if(building != null)
{ {
City city = ZoneManager.getCityAtLocation(npc.loc); City city = ZoneManager.getCityAtLocation(building.loc);
if(city != null){ if(city != null){
bane = city.getBane(); bane = city.getBane();
if(!city.getGuild().equals(pc.guild)) if(!city.getGuild().equals(pc.guild))