Set human entity to null

This commit is contained in:
fullwall 2021-09-27 20:27:30 +08:00
parent 18423134fa
commit cfacb52d29
1 changed files with 1 additions and 0 deletions

View File

@ -90,6 +90,7 @@ public class HumanController extends AbstractEntityController {
npc.getSkinTracker().onRemoveNPC();
}
NMS.remove(entity);
super.setEntity(null);
// Paper decided to break Spigot compatibility.
// super.remove();
}