mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-24 05:47:59 +01:00
Fixed changelings being still able to use the old flight system
This commit is contained in:
parent
d22140eccd
commit
cfe635bdba
2 changed files with 2 additions and 2 deletions
|
@ -31,7 +31,7 @@ public enum FlightType {
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean canFlyCreative(PlayerEntity player) {
|
public boolean canFlyCreative(PlayerEntity player) {
|
||||||
return this == INSECTOID || player.isCreative() || player.isSpectator();
|
return player.isCreative() || player.isSpectator();
|
||||||
}
|
}
|
||||||
|
|
||||||
public SoundEvent getWingFlapSound() {
|
public SoundEvent getWingFlapSound() {
|
||||||
|
|
|
@ -357,7 +357,7 @@ public class PlayerPhysics extends EntityPhysics<PlayerEntity> implements Tickab
|
||||||
pony.getMagicalReserves().getCharge().set(0);
|
pony.getMagicalReserves().getCharge().set(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!creative && type.isAvian()) {
|
if (!creative) {
|
||||||
checkAvianTakeoffConditions(velocity);
|
checkAvianTakeoffConditions(velocity);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue