From 66a7e191a4a400b9b27cba8faf9f42ea9744d640 Mon Sep 17 00:00:00 2001 From: AlgorithmX2 Date: Sun, 4 May 2014 19:24:42 -0500 Subject: [PATCH] If you have more then 10,000 of any part it now properly converts to "10k" instead of showing an unlocalized string --- client/gui/implementations/GuiNetworkStatus.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/client/gui/implementations/GuiNetworkStatus.java b/client/gui/implementations/GuiNetworkStatus.java index 57c340baf..c20a7202c 100644 --- a/client/gui/implementations/GuiNetworkStatus.java +++ b/client/gui/implementations/GuiNetworkStatus.java @@ -6,7 +6,6 @@ import net.minecraft.client.gui.GuiButton; import net.minecraft.entity.player.InventoryPlayer; import net.minecraft.inventory.Slot; import net.minecraft.item.ItemStack; -import net.minecraft.util.StatCollector; import org.lwjgl.input.Mouse; import org.lwjgl.opengl.GL11; @@ -168,7 +167,7 @@ public class GuiNetworkStatus extends AEBaseGui implements ISortSource String str = Long.toString( refStack.getStackSize() ); if ( refStack.getStackSize() >= 10000 ) - str = Long.toString( refStack.getStackSize() / 1000 ) + StatCollector.translateToLocal( "AppEng.Sizes.1000" ); + str = Long.toString( refStack.getStackSize() / 1000 ) + "k"; int w = fontRendererObj.getStringWidth( str ); fontRendererObj.drawString( str, (int) ((x * sectionLength + xo + sectionLength - 19 - ((float) w * 0.5)) * 2), (int) ((y * 18 + yo + 6) * 2),