diff --git a/src/engine/objects/Building.java b/src/engine/objects/Building.java index d9fca2d5..80a625c4 100644 --- a/src/engine/objects/Building.java +++ b/src/engine/objects/Building.java @@ -99,7 +99,6 @@ public class Building extends AbstractWorldObject { public int floor; public int level; - public HashMap fidelityNpcs = new HashMap<>(); public AtomicBoolean isDeranking = new AtomicBoolean(false); private ArrayList children = null; public LocalDateTime maintDateTime; diff --git a/src/engine/objects/NPC.java b/src/engine/objects/NPC.java index a48dcb40..1959bbf1 100644 --- a/src/engine/objects/NPC.java +++ b/src/engine/objects/NPC.java @@ -210,9 +210,6 @@ public class NPC extends AbstractCharacter { try{ this.building = BuildingManager.getBuilding(buildingID); - if (this.building != null) - this.building.fidelityNpcs.put(currentID, this.building.fidelityNpcs.size() + 1); - }catch(Exception e){ this.building = null; Logger.error( e.getMessage());