mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-23 21:38:00 +01:00
Fixed bat flight not being cancelled when hanging synchronize the change to the client
This commit is contained in:
parent
ab08d9a4a6
commit
4ff4cd1ade
1 changed files with 3 additions and 0 deletions
|
@ -344,6 +344,9 @@ public class Pony extends Living<PlayerEntity> implements Transmittable, Copieab
|
|||
entity.setVelocity(Vec3d.ZERO);
|
||||
entity.setSneaking(false);
|
||||
entity.stopFallFlying();
|
||||
getPhysics().cancelFlight(true);
|
||||
|
||||
setDirty();
|
||||
}
|
||||
|
||||
public boolean canHangAt(BlockPos pos) {
|
||||
|
|
Loading…
Reference in a new issue