mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 11:44:19 +01:00
Show fall particles while in creative mode. Fixes BUKKIT-5009
Relocate CraftBukkit patch to fall damage when changing gamemode from creative mode. By: t00thpick1 <t00thpick1dirko@gmail.com>
This commit is contained in:
parent
e06ae795b0
commit
b79e797434
1 changed files with 1 additions and 0 deletions
|
@ -628,6 +628,7 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
|
||||||
}
|
}
|
||||||
|
|
||||||
getHandle().playerInteractManager.setGameMode(EnumGamemode.a(mode.getValue()));
|
getHandle().playerInteractManager.setGameMode(EnumGamemode.a(mode.getValue()));
|
||||||
|
getHandle().fallDistance = 0;
|
||||||
getHandle().playerConnection.sendPacket(new PacketPlayOutGameStateChange(3, mode.getValue()));
|
getHandle().playerConnection.sendPacket(new PacketPlayOutGameStateChange(3, mode.getValue()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue