mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-03 21:44:40 +01:00
Fixed LOGIN packet issue
This commit is contained in:
parent
9aa582885a
commit
507e2be8ea
1 changed files with 4 additions and 2 deletions
|
@ -568,7 +568,8 @@ public class NetServerHandler extends NetHandler implements ICommandListener {
|
||||||
" just send an invalid ItemInHandIndex: " + packet16blockitemswitch.a +
|
" just send an invalid ItemInHandIndex: " + packet16blockitemswitch.a +
|
||||||
" - very likely a crashing exploit attempt. Recommend ban, and sending a package of joy their way."
|
" - very likely a crashing exploit attempt. Recommend ban, and sending a package of joy their way."
|
||||||
);
|
);
|
||||||
this.d.f.a(new Packet1Login("", "", 0, 0, (byte)0));
|
this.b(new Packet1Login("", "", 0, 0, (byte)0));
|
||||||
|
this.a("Exploits.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -807,7 +808,8 @@ public class NetServerHandler extends NetHandler implements ICommandListener {
|
||||||
int z = packet130updatesign.c;
|
int z = packet130updatesign.c;
|
||||||
server.getLogger().severe("Player " + getPlayer().getName() + "/" + getPlayer().getAddress().toString() + " just tried to change the sign text at " +
|
server.getLogger().severe("Player " + getPlayer().getName() + "/" + getPlayer().getAddress().toString() + " just tried to change the sign text at " +
|
||||||
x + "," + y + "," + z + " - very likely an exploit attempt. Recommend ban, and sending a package of joy their way.");
|
x + "," + y + "," + z + " - very likely an exploit attempt. Recommend ban, and sending a package of joy their way.");
|
||||||
this.d.f.a(new Packet1Login("", "", 0, 0, (byte)0));
|
this.b(new Packet1Login("", "", 0, 0, (byte)0));
|
||||||
|
this.a("Exploits.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue