This commit is contained in:
gnembon committed 2021-05-05 01:50:04 -03:00
1 parent e4ebeda1d0
commit 5ac22aa000
8 files changed
+24 -24

No files matched your search

+1 -1
View File
@@ -114,7 +114,7 @@ public class MobAI
e.setVelocity(vec3d.x, jumpStrength, vec3d.z);
if (e.isSprinting())
{
float u = e.method_36454() * 0.017453292F; // yaw
float u = e.getYaw() * 0.017453292F; // yaw
e.setVelocity(e.getVelocity().add((-MathHelper.sin(g) * 0.2F), 0.0D, (MathHelper.cos(u) * 0.2F)));
}
e.velocityDirty = true;