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:
t00thpick1
2013-12-13 19:31:59 -05:00
committed by Nate Mortensen
parent fbe062caf5
commit bdbd1808f7
2 changed files with 1 additions and 1 deletions

View File

@@ -628,6 +628,7 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
}
getHandle().playerInteractManager.setGameMode(EnumGamemode.a(mode.getValue()));
getHandle().fallDistance = 0;
getHandle().playerConnection.sendPacket(new PacketPlayOutGameStateChange(3, mode.getValue()));
}
}