Fix byte array behaviour for OpenContainer packet
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
This commit is contained in:
parent
28c0ffe333
commit
d6c3df32d6
1 changed files with 1 additions and 1 deletions
|
@ -178,7 +178,7 @@ public class FMLPlayMessages
|
|||
{
|
||||
buf.writeResourceLocation(msg.id);
|
||||
buf.writeVarInt(msg.windowId);
|
||||
buf.writeBytes(msg.additionalData);
|
||||
buf.writeByteArray(msg.additionalData.readByteArray());
|
||||
}
|
||||
|
||||
public static OpenContainer decode(PacketBuffer buf)
|
||||
|
|
Loading…
Reference in a new issue