Skip to content

Commit

Permalink
Update ServuxStructuresPacket.java
Browse files Browse the repository at this point in the history
  • Loading branch information
mcbianxiao authored Sep 23, 2024
1 parent af9fc44 commit c920025
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public void toPacket(PacketByteBuf output)
// Write Packet Buffer
try
{
PacketByteBuf copiedBuffer = new PacketByteBuf(this.packet.copy());
PacketByteBuf copiedBuffer = new PacketByteBuf(this.buffer.copy());
output.writeBytes(copiedBuffer.readBytes(copiedBuffer.readableBytes()));
}
catch (Exception e)
Expand Down

0 comments on commit c920025

Please sign in to comment.