mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-16 15:46:14 +01:00
Uncomment motion handling for human npcs
This commit is contained in:
parent
83fcb9214c
commit
4bdfa52a37
@ -81,7 +81,7 @@ public class EntityHumanNPC extends EntityPlayer implements NPCHolder {
|
|||||||
navigation.e();
|
navigation.e();
|
||||||
moveOnCurrentHeading();
|
moveOnCurrentHeading();
|
||||||
} else if (motX != 0 || motZ != 0 || motY != 0) {
|
} else if (motX != 0 || motZ != 0 || motY != 0) {
|
||||||
// e(0, 0); is this necessary? it does gravity/controllable but
|
e(0, 0);// is this necessary? it does gravity/controllable but
|
||||||
// sometimes players sink into the ground
|
// sometimes players sink into the ground
|
||||||
}
|
}
|
||||||
if (noDamageTicks > 0)
|
if (noDamageTicks > 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user