Fix "moved too quickly" detection.

This commit is contained in:
Travis Watkins
2012-08-05 23:45:38 -05:00
parent e1a4273957
commit 164c066453
3 changed files with 9 additions and 16 deletions

View File

@@ -950,14 +950,6 @@ public abstract class EntityHuman extends EntityLiving implements ICommandListen
}
public void a(boolean flag, boolean flag1, boolean flag2) {
if (this.fauxSleeping && !this.sleeping) return; // CraftBukkit - Can't leave bed if not in one!
// CraftBukkit start - moved check from packet19 handler TODO: make sure this works before turning on
// if (this instanceof EntityPlayer) {
// ((EntityPlayer) this).netServerHandler.checkMovement = false;
// }
// CraftBukkit end
this.a(0.6F, 1.8F);
this.d_();
ChunkCoordinates chunkcoordinates = this.bT;