mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-28 16:05:54 -04:00
Don't need to check for HumanoidModel twice. Oops
This commit is contained in:
parent
9d50aa3585
commit
2384af17b7
@ -71,7 +71,7 @@ namespace ClassicalSharp.Entities {
|
|||||||
tiltY = (float)Math.Sin(walkTime) * swing * (0.15f * Utils.Deg2Rad);
|
tiltY = (float)Math.Sin(walkTime) * swing * (0.15f * Utils.Deg2Rad);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (entity.Model is HumanoidModel || entity.Model is HumanoidModel)
|
if (entity.Model is HumanoidModel)
|
||||||
CalcHumanAnim(idleXRot, idleZRot);
|
CalcHumanAnim(idleXRot, idleZRot);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user