mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-02 14:27:59 +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!");
|
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…
Reference in New Issue
Block a user