Fix Treus Dayth unkillable, thanks shire

This commit is contained in:
Player Name 2026-06-09 19:10:25 +02:00
parent 0499c22677
commit e343baeea1

View file

@ -236,6 +236,12 @@ public abstract class Entity extends Node {
*/
public void clear() {
active = false;
if (this instanceof Player) {
location.getChunk().removePlayer(asPlayer());
}
if (this instanceof NPC) {
location.getChunk().remove(asNpc());
}
pulseManager.clear();
}