mirror of
https://github.com/Sollace/Unicopia.git
synced 2025-03-04 01:01:29 +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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (!pony.isClient()) {
|
|
||||||
lastFlightType = type;
|
lastFlightType = type;
|
||||||
|
if (!pony.isClient()) {
|
||||||
isFlyingSurvival = entity.getAbilities().flying && !creative;
|
isFlyingSurvival = entity.getAbilities().flying && !creative;
|
||||||
isFlyingEither = isFlyingSurvival || (creative && entity.getAbilities().flying);
|
isFlyingEither = isFlyingSurvival || (creative && entity.getAbilities().flying);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue