mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 08:17:35 +00:00
Fix byte array behaviour for OpenContainer packet
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
This commit is contained in:
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user