mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-23 13:37:58 +01:00
This commit is contained in:
parent
fab6e7b3dd
commit
b3068780ae
1 changed files with 2 additions and 2 deletions
|
@ -242,7 +242,7 @@ public class PlayerPhysics extends EntityPhysics<PlayerEntity> implements Tickab
|
|||
public void tick() {
|
||||
super.tick();
|
||||
|
||||
if (pony.isClientPlayer() && isFlying() && (pony.getJumpingHeuristic().hasChanged(Heuristic.ONCE) || pony.sneakingChanged())) {
|
||||
if (pony.isClientPlayer() && (pony.getJumpingHeuristic().hasChanged(Heuristic.ONCE) || pony.sneakingChanged())) {
|
||||
Channel.FLIGHT_CONTROLS_INPUT.sendToServer(new MsgPlayerFlightControlsInput(pony));
|
||||
}
|
||||
|
||||
|
@ -369,7 +369,7 @@ public class PlayerPhysics extends EntityPhysics<PlayerEntity> implements Tickab
|
|||
pony.getMagicalReserves().getCharge().set(0);
|
||||
}
|
||||
|
||||
if (!creative) {
|
||||
if (!creative && !pony.isClient()) {
|
||||
checkAvianTakeoffConditions(velocity);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue