From 76493f9c76cbae03e75832719381304657a2341a Mon Sep 17 00:00:00 2001 From: EvilSeph Date: Fri, 16 Sep 2011 05:35:37 -0400 Subject: [PATCH] Fixed fall distance accumulating while being in Creative mode. --- src/main/java/net/minecraft/server/NetServerHandler.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/net/minecraft/server/NetServerHandler.java b/src/main/java/net/minecraft/server/NetServerHandler.java index c695963a03..5b1e993906 100644 --- a/src/main/java/net/minecraft/server/NetServerHandler.java +++ b/src/main/java/net/minecraft/server/NetServerHandler.java @@ -371,6 +371,7 @@ public class NetServerHandler extends NetHandler implements ICommandListener { this.player.onGround = packet10flying.g; 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); } }