Improved Natural Despawn Handling PR 4 - Natural Spawns

This commit is contained in:
Kam committed 2026-02-23 05:44:45 -05:00
1 parent 6abd29b12d
commit 37b38daa00
5 files changed
+46 -10

No files matched your search

@@ -1109,6 +1109,7 @@ public class ScriptNpc<T extends EntityNPCInterface> extends ScriptLiving<T> imp
public void setNaturallyDespawns(boolean canDespawn) {
npc.stats.canDespawn = canDespawn;
npc.stats.playerSetCanDespawn = canDespawn;
npc.syncDespawnPersistence();
}
public boolean spawnedFromSoulStone() {