Fixed fall distance accumulating while being in Creative mode.

This commit is contained in:
EvilSeph 2011-09-16 05:35:37 -04:00
parent 72e5ea6cc3
commit 76493f9c76

View File

@ -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);
}
}