Unify ban handling on login

This commit is contained in:
P0nk
2024-09-29 17:54:20 +02:00
parent 50524a7740
commit a307afae3c
7 changed files with 35 additions and 97 deletions

View File

@@ -711,7 +711,7 @@ public class PacketCreator {
return p;
}
public static Packet getTempBan(long timestampTill, byte reason) {
public static Packet getTempBan(byte reason, long timestampTill) {
OutPacket p = OutPacket.create(SendOpcode.LOGIN_STATUS);
p.writeByte(2);
p.writeByte(0);