Backport bukkitEntity change

This commit is contained in:
fullwall 2021-09-27 20:50:38 +08:00
parent cfacb52d29
commit fd3833deba
5 changed files with 5 additions and 11 deletions

View File

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

View File

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

View File

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

View File

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

View File

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