feat: remove sprinting

This commit is contained in:
str1k3r committed 2026-09-26 15:14:59 -04:00
1 parent 5b198d7b31
commit bdfe5350cd
14 files changed
+18 -196

No files matched your search

-7
View File
@@ -1333,13 +1333,6 @@ void Mob::jumpFromGround()
{
yd += (getEffect(MobEffect::jump)->getAmplifier() + 1) * .1f;
}
if (isSprinting())
{
float rr = yRot * Mth::RAD_TO_GRAD;
xd -= Mth::sin(rr) * 0.2f;
zd += Mth::cos(rr) * 0.2f;
}
this->hasImpulse = true;
}