mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-27 15:17:59 +01:00
Fixed regression from earlier
This commit is contained in:
parent
d1b5a73b18
commit
ba0fba791e
1 changed files with 1 additions and 1 deletions
|
@ -254,7 +254,7 @@ public class PlayerPhysics extends EntityPhysics<PlayerEntity> implements Tickab
|
|||
|
||||
boolean typeChanged = type != lastFlightType;
|
||||
|
||||
if (typeChanged && lastFlightType.isArtifical() || type.isArtifical()) {
|
||||
if (typeChanged && (lastFlightType.isArtifical() || type.isArtifical())) {
|
||||
pony.spawnParticles(ParticleTypes.CLOUD, 10);
|
||||
|
||||
playSound(entity.getWorld().getDimension().ultrawarm() ? USounds.ITEM_ICARUS_WINGS_CORRUPT : USounds.ITEM_ICARUS_WINGS_PURIFY, 0.1125F, 1.5F);
|
||||
|
|
Loading…
Reference in a new issue