Fix broken multicombat in pest control

This commit is contained in:
Player Name 2026-06-19 18:15:12 +02:00
parent 0b454ab84a
commit 08b5e4cb8e

View file

@ -1,5 +1,6 @@
package core.game.node.entity.npc;
import core.ServerConstants;
import core.game.event.NPCKillEvent;
import core.cache.def.impl.NPCDefinition;
import core.game.dialogue.DialoguePlugin;
@ -213,6 +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);
if (getLocation().getRegion().isActive()) {
Repository.addRenderableNPC(this);