Remove unnecessary prefix from Poses

This commit is contained in:
Ryan 2022-09-17 23:25:07 -07:00
parent 9ec1df1978
commit 5bdac7fbb0

View file

@ -690,13 +690,13 @@ impl<C: Config> Entity<C> {
TrackedData::ZombieVillager(e) => baby(e.get_baby(), [0.6, 1.95, 0.6]), TrackedData::ZombieVillager(e) => baby(e.get_baby(), [0.6, 1.95, 0.6]),
TrackedData::ZombifiedPiglin(e) => baby(e.get_baby(), [0.6, 1.95, 0.6]), TrackedData::ZombifiedPiglin(e) => baby(e.get_baby(), [0.6, 1.95, 0.6]),
TrackedData::Player(e) => match e.get_pose() { TrackedData::Player(e) => match e.get_pose() {
types::Pose::Standing => [0.6, 1.8, 0.6], Pose::Standing => [0.6, 1.8, 0.6],
types::Pose::Sleeping => [0.2, 0.2, 0.2], Pose::Sleeping => [0.2, 0.2, 0.2],
types::Pose::FallFlying => [0.6, 0.6, 0.6], Pose::FallFlying => [0.6, 0.6, 0.6],
types::Pose::Swimming => [0.6, 0.6, 0.6], Pose::Swimming => [0.6, 0.6, 0.6],
types::Pose::SpinAttack => [0.6, 0.6, 0.6], Pose::SpinAttack => [0.6, 0.6, 0.6],
types::Pose::Sneaking => [0.6, 1.5, 0.6], Pose::Sneaking => [0.6, 1.5, 0.6],
types::Pose::Dying => [0.2, 0.2, 0.2], Pose::Dying => [0.2, 0.2, 0.2],
_ => [0.6, 1.8, 0.6], _ => [0.6, 1.8, 0.6],
}, },
TrackedData::FishingBobber(_) => [0.25, 0.25, 0.25], TrackedData::FishingBobber(_) => [0.25, 0.25, 0.25],