Skip to content

Commit

Permalink
Hopefully fix it now
Browse files Browse the repository at this point in the history
  • Loading branch information
Patbox committed Dec 9, 2024
1 parent 5c27c5e commit ac1bc81
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,8 @@ public CustomPayload.Id<BungeeCordPayload> getId() {
}

private static BungeeCordPayload read(ByteBuf buf) {
var data = PacketByteBuf.readByteArray(buf);
// debug
System.out.println(new String(data, StandardCharsets.UTF_8));
var data = new byte[buf.readableBytes()];
buf.readBytes(data);
return new BungeeCordPayload(data);
}
}

0 comments on commit ac1bc81

Please sign in to comment.