Fix Fly Remote Reset

This commit is contained in:
KAMKEEL committed 2022-11-07 01:40:11 -05:00
1 parent 33d7b73cb1
commit 6c20ff2d14
1 file changed
+3
@@ -1062,6 +1062,9 @@ public abstract class EntityNPCInterface extends EntityCreature implements IEnti
moveEntityWithHeading(0,0);
distanceWalkedModified = 0;
getNavigator().clearPathEntity();
if(canFly()){
((FlyingMoveHelper)getMoveHelper()).update = false;
}
currentAnimation = EnumAnimation.NONE;
updateHitbox();
updateAI = true;