mirror of
https://github.com/HibiscusMC/HMCCosmetics.git
synced 2025-12-30 20:39:13 +00:00
fix: player during riptide have their backpack hidden #84
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user