From fb8019de039169029a16674e0d5a4bde11f5947b Mon Sep 17 00:00:00 2001 From: przemo1232 <79700515+przemo1232@users.noreply.github.com> Date: Wed, 8 Jul 2026 20:42:21 +0200 Subject: [PATCH 1/2] fix formatting instead of "1 B of 10B Bytes Used" it should be "1 B of 10B Used" --- src/main/java/com/glodblock/github/nei/NEICellViewHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/glodblock/github/nei/NEICellViewHandler.java b/src/main/java/com/glodblock/github/nei/NEICellViewHandler.java index 85cea7152..4c1dd2a55 100644 --- a/src/main/java/com/glodblock/github/nei/NEICellViewHandler.java +++ b/src/main/java/com/glodblock/github/nei/NEICellViewHandler.java @@ -119,7 +119,7 @@ public void drawForeground(int recipe) { 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); From 87df2ca44caed86dd7798ff25e119824ace3e353 Mon Sep 17 00:00:00 2001 From: przemo1232 <79700515+przemo1232@users.noreply.github.com> Date: Wed, 8 Jul 2026 22:19:40 +0200 Subject: [PATCH 2/2] lint --- .../java/com/glodblock/github/nei/NEICellViewHandler.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/glodblock/github/nei/NEICellViewHandler.java b/src/main/java/com/glodblock/github/nei/NEICellViewHandler.java index 4c1dd2a55..5d353fce7 100644 --- a/src/main/java/com/glodblock/github/nei/NEICellViewHandler.java +++ b/src/main/java/com/glodblock/github/nei/NEICellViewHandler.java @@ -119,7 +119,12 @@ public void drawForeground(int recipe) { final String usedBytes = Platform.formatByteDouble(cellHandler.getUsedBytes()); final String totalBytes = Platform.formatByteDouble(cellHandler.getTotalBytes()); fontRenderer.drawString( - usedBytes + " " + GuiText.Of.getLocal() + ' ' + totalBytes + ' ' + GuiText.FromStoragePercent.getLocal(), + usedBytes + " " + + GuiText.Of.getLocal() + + ' ' + + totalBytes + + ' ' + + GuiText.FromStoragePercent.getLocal(), OFFSET_X, INFO_OFFSET_Y, 0);