mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-15 12:13:54 -07:00
Show fall particles while in creative mode. Fixes BUKKIT-5009
Relocate CraftBukkit patch to fall damage when changing gamemode from creative mode.
This commit is contained in:
committed by
Nate Mortensen
parent
fbe062caf5
commit
bdbd1808f7
@@ -412,7 +412,6 @@ public class PlayerConnection implements PacketPlayInListener {
|
||||
|
||||
this.player.onGround = packetplayinflying.i();
|
||||
this.minecraftServer.getPlayerList().d(this.player);
|
||||
if (this.player.playerInteractManager.isCreative()) return; // CraftBukkit - fixed fall distance accumulating while being in Creative mode.
|
||||
this.player.b(this.player.locY - d0, packetplayinflying.i());
|
||||
} else if (this.e % 20 == 0) {
|
||||
this.a(this.y, this.z, this.q, this.player.yaw, this.player.pitch);
|
||||
|
Reference in New Issue
Block a user