mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-22 10:36:10 +01:00
Fix movement on 1.12/13
This commit is contained in:
parent
83022b05ab
commit
dad74a3279
@ -355,9 +355,8 @@ public class EntityHumanNPC extends EntityPlayer implements NPCHolder, Skinnable
|
||||
}
|
||||
}
|
||||
|
||||
private void moveWithFallDamage(double mx, double my, double mz) {
|
||||
private void moveWithFallDamage(float mx, float my, float mz) {
|
||||
double y = this.locY;
|
||||
|
||||
a(mx, my, mz);
|
||||
if (!npc.isProtected()) {
|
||||
a(this.locY - y, onGround);
|
||||
|
@ -329,7 +329,7 @@ public class EntityHumanNPC extends EntityPlayer implements NPCHolder, Skinnable
|
||||
}
|
||||
}
|
||||
|
||||
private void moveWithFallDamage(double mx, double my, double mz) {
|
||||
private void moveWithFallDamage(float mx, float my, float mz) {
|
||||
double y = this.locY;
|
||||
|
||||
a(mx, my, mz);
|
||||
|
Loading…
Reference in New Issue
Block a user