Browse Source

Update state of npc.

master
MagicBot 1 year ago
parent
commit
2e7d2b5bcf
  1. 3
      src/engine/gameManager/BuildingManager.java

3
src/engine/gameManager/BuildingManager.java

@ -12,6 +12,7 @@ package engine.gameManager; @@ -12,6 +12,7 @@ package engine.gameManager;
import engine.Enum;
import engine.Enum.BuildingGroup;
import engine.Enum.GameObjectType;
import engine.InterestManagement.InterestManager;
import engine.InterestManagement.WorldGrid;
import engine.job.JobContainer;
import engine.job.JobScheduler;
@ -501,7 +502,7 @@ public enum BuildingManager { @@ -501,7 +502,7 @@ public enum BuildingManager {
if (npc == null)
return false;
MovementManager.translocate(npc, npc.bindLoc, npc.region);
InterestManager.forceLoad(npc);
return true;

Loading…
Cancel
Save