feat: remove sprinting
This commit is contained in:
1 parent
5b198d7b31
commit
bdfe5350cd
14 files changed
+18
-196
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user