mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2025-02-22 15:22:11 +01:00
Unchange where tracker replacement happens
This commit is contained in:
parent
e344158ff4
commit
95261e4548
@ -256,6 +256,9 @@ public class CitizensNPC extends AbstractNPC {
|
||||
if (NMS.getStepHeight(entity) < 1) {
|
||||
NMS.setStepHeight(entity, 1);
|
||||
}
|
||||
if (getEntity() instanceof Player) {
|
||||
NMS.replaceTrackerEntry((Player) getEntity());
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
|
@ -283,7 +283,6 @@ public class EntityHumanNPC extends EntityPlayer implements NPCHolder, Skinnable
|
||||
if (updateCounter + 1 > Setting.PACKET_UPDATE_DELAY.asInt()) {
|
||||
updateEffects = true;
|
||||
}
|
||||
NMS.replaceTrackerEntry(getBukkitEntity());
|
||||
tickPotionEffects();
|
||||
|
||||
boolean navigating = npc.getNavigator().isNavigating();
|
||||
|
Loading…
Reference in New Issue
Block a user