mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-25 14:14:46 -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);
|
||||
}
|
||||
|
||||
if (entity.Model is HumanoidModel || entity.Model is HumanoidModel)
|
||||
if (entity.Model is HumanoidModel)
|
||||
CalcHumanAnim(idleXRot, idleZRot);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user