mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-08-28 16:22:18 +00:00
Fix monitor max dimensions syncing.
- We were transposing width and height values on client. - Made width/height order consistent in constructor too just because.
This commit is contained in:
parent
8c930d20b5
commit
87bb49337f
@ -31,8 +31,8 @@ public class TerminalDimensionsClientMessage implements NetworkMessage
|
||||
this.computerTermHeight = ComputerCraft.computerTermHeight;
|
||||
this.pocketTermWidth = ComputerCraft.pocketTermWidth;
|
||||
this.pocketTermHeight = ComputerCraft.pocketTermHeight;
|
||||
this.monitorHeight = ComputerCraft.monitorHeight;
|
||||
this.monitorWidth = ComputerCraft.monitorWidth;
|
||||
this.monitorHeight = ComputerCraft.monitorHeight;
|
||||
}
|
||||
|
||||
public TerminalDimensionsClientMessage( @Nonnull FriendlyByteBuf buf )
|
||||
@ -41,8 +41,8 @@ public class TerminalDimensionsClientMessage implements NetworkMessage
|
||||
computerTermHeight = buf.readVarInt();
|
||||
pocketTermWidth = buf.readVarInt();
|
||||
pocketTermHeight = buf.readVarInt();
|
||||
monitorHeight = buf.readVarInt();
|
||||
monitorWidth = buf.readVarInt();
|
||||
monitorHeight = buf.readVarInt();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
x
Reference in New Issue
Block a user