From 5bdac7fbb083b67291b6a087f674c8b447ad2c6e Mon Sep 17 00:00:00 2001 From: Ryan Date: Sat, 17 Sep 2022 23:25:07 -0700 Subject: [PATCH] Remove unnecessary prefix from Poses --- src/entity.rs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/entity.rs b/src/entity.rs index f40a707..b3303f9 100644 --- a/src/entity.rs +++ b/src/entity.rs @@ -690,13 +690,13 @@ impl Entity { 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::Player(e) => match e.get_pose() { - types::Pose::Standing => [0.6, 1.8, 0.6], - types::Pose::Sleeping => [0.2, 0.2, 0.2], - types::Pose::FallFlying => [0.6, 0.6, 0.6], - types::Pose::Swimming => [0.6, 0.6, 0.6], - types::Pose::SpinAttack => [0.6, 0.6, 0.6], - types::Pose::Sneaking => [0.6, 1.5, 0.6], - types::Pose::Dying => [0.2, 0.2, 0.2], + Pose::Standing => [0.6, 1.8, 0.6], + Pose::Sleeping => [0.2, 0.2, 0.2], + Pose::FallFlying => [0.6, 0.6, 0.6], + Pose::Swimming => [0.6, 0.6, 0.6], + Pose::SpinAttack => [0.6, 0.6, 0.6], + Pose::Sneaking => [0.6, 1.5, 0.6], + Pose::Dying => [0.2, 0.2, 0.2], _ => [0.6, 1.8, 0.6], }, TrackedData::FishingBobber(_) => [0.25, 0.25, 0.25],