Set human entity to null

This commit is contained in:
fullwall 2021-09-27 20:27:30 +08:00
parent 18423134fa
commit cfacb52d29

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();
}