This commit is contained in:
gnembon committed 2021-04-28 17:05:42 -03:00
1 parent 624f9973c8
commit b84478e7db
9 files changed
+27 -27

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.yaw * 0.017453292F;
float u = e.method_36454() * 0.017453292F; // yaw
e.setVelocity(e.getVelocity().add((-MathHelper.sin(g) * 0.2F), 0.0D, (MathHelper.cos(u) * 0.2F)));
}
e.velocityDirty = true;