Change ForgeDirection side serialization to byte

(cherry picked from commit 3a87975b7c)
This commit is contained in:
Andrei Laiff authored and Martin Robertz committed 2023-10-23 18:53:21 +02:00
1 parent bad5622723
commit 18e5d8c4c1
1 file changed
+2 -2
@@ -269,7 +269,7 @@ public class SPacketLevelTerminalUpdate implements IMessage {
buf.writeInt(y);
buf.writeInt(z);
buf.writeInt(dim);
buf.writeInt(side);
buf.writeByte(side);
buf.writeInt(rows);
buf.writeInt(rowSize);
@@ -302,7 +302,7 @@ public class SPacketLevelTerminalUpdate implements IMessage {
this.y = buf.readInt();
this.z = buf.readInt();
this.dim = buf.readInt();
this.side = buf.readInt();
this.side = buf.readByte();
this.rows = buf.readInt();
this.rowSize = buf.readInt();
int payloadSize = buf.readInt();