|
|
@ -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)) |
|
|
|