From 2cfb3f926ae206be1a82665cad208f56e6149aeb Mon Sep 17 00:00:00 2001 From: Player Name Date: Tue, 30 Jun 2026 16:33:53 +0200 Subject: [PATCH] I am more retarded --- Server/src/main/core/game/node/entity/npc/NPC.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Server/src/main/core/game/node/entity/npc/NPC.java b/Server/src/main/core/game/node/entity/npc/NPC.java index 6fa12f211..15877b6f8 100644 --- a/Server/src/main/core/game/node/entity/npc/NPC.java +++ b/Server/src/main/core/game/node/entity/npc/NPC.java @@ -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); }