9
0
mirror of https://github.com/HibiscusMC/HMCCosmetics.git synced 2025-12-30 04:19:28 +00:00

fix: player during riptide have their backpack hidden #84

This commit is contained in:
LoJoSho
2023-03-17 11:15:04 -05:00
parent 65f1c72b8e
commit a5631cd2e4

View File

@@ -200,7 +200,7 @@ public class PlayerGameListener implements Listener {
}
return;
}
if (pose.equals(Pose.SLEEPING) || pose.equals(Pose.SWIMMING) || pose.equals(Pose.FALL_FLYING)) {
if (pose.equals(Pose.SLEEPING) || pose.equals(Pose.SWIMMING) || pose.equals(Pose.FALL_FLYING) || pose.equals(Pose.SPIN_ATTACK)) {
user.despawnBackpack();
}
}