mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-17 08:45:11 +00:00
NPCs properly stay floating when not navigating and in the air.
This commit is contained in:
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);
|
||||
|
||||
Reference in new issue
Block a user