mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-28 13:36:16 +01:00
Fixed fall distance accumulating while being in Creative mode.
This commit is contained in:
parent
72e5ea6cc3
commit
76493f9c76
@ -371,6 +371,7 @@ public class NetServerHandler extends NetHandler implements ICommandListener {
|
|||||||
|
|
||||||
this.player.onGround = packet10flying.g;
|
this.player.onGround = packet10flying.g;
|
||||||
this.minecraftServer.serverConfigurationManager.d(this.player);
|
this.minecraftServer.serverConfigurationManager.d(this.player);
|
||||||
|
if (this.player.itemInWorldManager.b()) return; // CraftBukkit - fixed fall distance accumulating while being in Creative mode.
|
||||||
this.player.b(this.player.locY - d0, packet10flying.g);
|
this.player.b(this.player.locY - d0, packet10flying.g);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user