I am more retarded

This commit is contained in:
Player Name 2026-06-30 16:33:53 +02:00
parent 287f1d04d5
commit 2cfb3f926a

View file

@ -214,8 +214,7 @@ public class NPC extends Entity {
getProperties().setSpawnLocation(getLocation());
initConfig();
Repository.getNpcs().add(this);
RegionManager.move(this, ServerConstants.START_LOCATION, this.location);
getLocation().getChunk().add(this);
RegionManager.move(this, ServerConstants.START_LOCATION, location);
if (getLocation().getRegion().isActive()) {
Repository.addRenderableNPC(this);
}