From 70eb283bd085f82ef9f40b0db7bca6cdeb6942c7 Mon Sep 17 00:00:00 2001 From: EvilSeph Date: Tue, 12 Apr 2011 22:14:42 -0400 Subject: [PATCH] Removed redundant check due to merging the ifs. Ooops. --- src/main/java/net/minecraft/server/NetServerHandler.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/main/java/net/minecraft/server/NetServerHandler.java b/src/main/java/net/minecraft/server/NetServerHandler.java index fd22945f1c..512b379124 100644 --- a/src/main/java/net/minecraft/server/NetServerHandler.java +++ b/src/main/java/net/minecraft/server/NetServerHandler.java @@ -149,12 +149,6 @@ public class NetServerHandler extends NetHandler implements ICommandListener { player.kickPlayer("Nope!"); return; } - - if (Math.abs(packet10flying.c) > 32000000) { - System.err.println(player.getName() + " was caught trying to crash the server with an invalid position."); - player.kickPlayer("Nope!"); - return; - } // CraftBukkit end if (this.l) {