mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-30 21:07:36 +01:00
Removed redundant check due to merging the ifs. Ooops.
This commit is contained in:
parent
534d546002
commit
70eb283bd0
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user