Skip to content

Commit

Permalink
Set human entity to null
Browse files Browse the repository at this point in the history
  • Loading branch information
fullwall committed Sep 27, 2021
1 parent 1842313 commit cfacb52
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -90,6 +90,7 @@ public void remove() {
npc.getSkinTracker().onRemoveNPC();
}
NMS.remove(entity);
super.setEntity(null);
// Paper decided to break Spigot compatibility.
// super.remove();
}
Expand Down

0 comments on commit cfacb52

Please sign in to comment.