mirror of
https://github.com/Sollace/Unicopia.git
synced 2025-03-03 16:51:28 +01:00
Fixed icarus wings constantly producing sounds when worn
This commit is contained in:
parent
e0b0457f33
commit
554bca3831
1 changed files with 1 additions and 2 deletions
|
@ -298,9 +298,8 @@ public class PlayerPhysics extends EntityPhysics<PlayerEntity> implements Tickab
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
lastFlightType = type;
|
||||
if (!pony.isClient()) {
|
||||
lastFlightType = type;
|
||||
isFlyingSurvival = entity.getAbilities().flying && !creative;
|
||||
isFlyingEither = isFlyingSurvival || (creative && entity.getAbilities().flying);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue