mirror of
https://hub.spigotmc.org/stash/scm/spigot/craftbukkit.git
synced 2025-08-30 05:03:49 +00:00
Removed redundant check due to merging the ifs. Ooops.
This commit is contained in:
parent
534d546002
commit
70eb283bd0
1 changed files with 0 additions and 6 deletions
|
@ -149,12 +149,6 @@ public class NetServerHandler extends NetHandler implements ICommandListener {
|
||||||
player.kickPlayer("Nope!");
|
player.kickPlayer("Nope!");
|
||||||
return;
|
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
|
// CraftBukkit end
|
||||||
|
|
||||||
if (this.l) {
|
if (this.l) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue