diff --git a/v1_12_R1/src/main/java/net/citizensnpcs/nms/v1_12_R1/entity/EntityHumanNPC.java b/v1_12_R1/src/main/java/net/citizensnpcs/nms/v1_12_R1/entity/EntityHumanNPC.java index e2bc7d7be..fc82255b4 100644 --- a/v1_12_R1/src/main/java/net/citizensnpcs/nms/v1_12_R1/entity/EntityHumanNPC.java +++ b/v1_12_R1/src/main/java/net/citizensnpcs/nms/v1_12_R1/entity/EntityHumanNPC.java @@ -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); diff --git a/v1_13_R2/src/main/java/net/citizensnpcs/nms/v1_13_R2/entity/EntityHumanNPC.java b/v1_13_R2/src/main/java/net/citizensnpcs/nms/v1_13_R2/entity/EntityHumanNPC.java index a6f3b2e9a..ba371c7a9 100644 --- a/v1_13_R2/src/main/java/net/citizensnpcs/nms/v1_13_R2/entity/EntityHumanNPC.java +++ b/v1_13_R2/src/main/java/net/citizensnpcs/nms/v1_13_R2/entity/EntityHumanNPC.java @@ -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);