Archiviert
1
0
Dieser Commit ist enthalten in:
zOnlyKroks 2022-03-23 17:03:31 +01:00
Ursprung d500c376fa
Commit 1675b1dc9c

Datei anzeigen

@ -67,12 +67,12 @@ public class Fabric extends BasicListener {
byte[] data = e.getData(); byte[] data = e.getData();
Utils.VarInt varInt = Utils.readVarInt(data,0); Utils.VarInt varInt = Utils.readVarInt(data,0);
data = Arrays.copyOfRange(data,varInt.length, data.length);
if(data.length != varInt.length + varInt.value) { if(data.length != varInt.length + varInt.value) {
banPlayer(user,player); banPlayer(user,player);
} }
data = Arrays.copyOfRange(data,varInt.length, data.length);
String dataString = ""; String dataString = "";
try{ try{