Fidaltiy garbage removed from NPC class.

This commit is contained in:
2023-03-31 09:17:15 -04:00
parent 24b6820a1b
commit bbdbead1ff
2 changed files with 0 additions and 4 deletions
-1
View File
@@ -99,7 +99,6 @@ public class Building extends AbstractWorldObject {
public int floor;
public int level;
public HashMap<Integer,Integer> fidelityNpcs = new HashMap<>();
public AtomicBoolean isDeranking = new AtomicBoolean(false);
private ArrayList<Building> children = null;
public LocalDateTime maintDateTime;
-3
View File
@@ -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());