Compare commits

..
Author SHA1 Message Date
DreamYao520 5f9c1b236e Fix universal terminal mode sync in baubles (#451) 2026-07-18 16:43:32 +00:00
przemo1232andMartin Robertz 3f5903aad4 fix cell view text formatting (#449)
Co-authored-by: Martin Robertz <[email protected]>
2026-07-14 13:20:22 +00:00
2 changed files with 7 additions and 1 deletions

No files matched your search

@@ -230,6 +230,7 @@ public class UltraTerminalButtons implements ICustomButtonDataObject {
this.reStock = buf.readBoolean();
this.magnetMode = WirelessMagnet.Mode.values()[buf.readInt()];
this.terminalMode = UltraTerminalModes.values()[buf.readInt()];
ItemWirelessUltraTerminal.setMode(this.terminal, this.terminalMode);
toggleMagnetButtonsVisibility();
toggleRestockVisibility();
@@ -119,7 +119,12 @@ public class NEICellViewHandler implements IUsageHandler {
final String usedBytes = Platform.formatByteDouble(cellHandler.getUsedBytes());
final String totalBytes = Platform.formatByteDouble(cellHandler.getTotalBytes());
fontRenderer.drawString(
usedBytes + " " + GuiText.Of.getLocal() + ' ' + totalBytes + ' ' + GuiText.BytesUsed.getLocal(),
usedBytes + " "
+ GuiText.Of.getLocal()
+ ' '
+ totalBytes
+ ' '
+ GuiText.FromStoragePercent.getLocal(),
OFFSET_X,
INFO_OFFSET_Y,
0);