diff options
author | EvilSeph <evilseph@gmail.com> | 2011-09-16 05:35:37 -0400 |
---|---|---|
committer | EvilSeph <evilseph@gmail.com> | 2011-09-16 05:48:05 -0400 |
commit | 76493f9c76cbae03e75832719381304657a2341a (patch) | |
tree | 0a35fa90eea4ae58d9623aa66495703063f99a00 /src/main/java | |
parent | 72e5ea6cc3364798b1de7281f024e1ddb589cf86 (diff) | |
download | craftbukkit-76493f9c76cbae03e75832719381304657a2341a.tar craftbukkit-76493f9c76cbae03e75832719381304657a2341a.tar.gz craftbukkit-76493f9c76cbae03e75832719381304657a2341a.tar.lz craftbukkit-76493f9c76cbae03e75832719381304657a2341a.tar.xz craftbukkit-76493f9c76cbae03e75832719381304657a2341a.zip |
Fixed fall distance accumulating while being in Creative mode.
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/net/minecraft/server/NetServerHandler.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/net/minecraft/server/NetServerHandler.java b/src/main/java/net/minecraft/server/NetServerHandler.java index c695963a..5b1e9939 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); } } |