NPCs properly stay floating when not navigating and in the air.

This commit is contained in:
luisc committed 2021-12-08 04:41:41 -06:00
1 parent 2147bd00d0
commit c2564de470
3 files changed
+5 -13

No files matched your search

@@ -931,13 +931,6 @@ public abstract class EntityNPCInterface extends EntityCreature implements IEnti
return true;
}
@Override
public void addVelocity(double d, double d1, double d2) {
if (isWalking() && !isKilled())
super.addVelocity(d, d1, d2);
}
@Override
public void readEntityFromNBT(NBTTagCompound compound) {
super.readEntityFromNBT(compound);