diff options
author | EvilSeph <evilseph@unaligned.org> | 2011-04-12 22:14:42 -0400 |
---|---|---|
committer | EvilSeph <evilseph@unaligned.org> | 2011-04-12 22:14:42 -0400 |
commit | 70eb283bd085f82ef9f40b0db7bca6cdeb6942c7 (patch) | |
tree | 55430788acba60646ac03eae7207cbfa7b666a01 /src/main/java/net/minecraft | |
parent | 534d546002f4d58df5920af003437a42a051434c (diff) | |
download | craftbukkit-70eb283bd085f82ef9f40b0db7bca6cdeb6942c7.tar craftbukkit-70eb283bd085f82ef9f40b0db7bca6cdeb6942c7.tar.gz craftbukkit-70eb283bd085f82ef9f40b0db7bca6cdeb6942c7.tar.lz craftbukkit-70eb283bd085f82ef9f40b0db7bca6cdeb6942c7.tar.xz craftbukkit-70eb283bd085f82ef9f40b0db7bca6cdeb6942c7.zip |
Removed redundant check due to merging the ifs. Ooops.
Diffstat (limited to 'src/main/java/net/minecraft')
-rw-r--r-- | src/main/java/net/minecraft/server/NetServerHandler.java | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/main/java/net/minecraft/server/NetServerHandler.java b/src/main/java/net/minecraft/server/NetServerHandler.java index fd22945f..512b3791 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) { |