Storage Monitors don't render any quantity text when no item is specified to monitor anymore
This commit is contained in:
@@ -1,5 +1,8 @@
|
|||||||
# Refined Storage Changelog
|
# Refined Storage Changelog
|
||||||
|
|
||||||
|
### 1.4.3
|
||||||
|
- Storage Monitors don't render any quantity text when no item is specified to monitor anymore (raoulvdberge)
|
||||||
|
|
||||||
### 1.4.2
|
### 1.4.2
|
||||||
- Updated Forge to 2261 (raoulvdberge)
|
- Updated Forge to 2261 (raoulvdberge)
|
||||||
- Implemented support for the Forge update JSON system (raoulvdberge)
|
- Implemented support for the Forge update JSON system (raoulvdberge)
|
||||||
|
|||||||
@@ -118,7 +118,9 @@ public class TileEntitySpecialRendererStorageMonitor extends TileEntitySpecialRe
|
|||||||
float factor = 2.0f;
|
float factor = 2.0f;
|
||||||
GlStateManager.scale(size * factor, size * factor, size);
|
GlStateManager.scale(size * factor, size * factor, size);
|
||||||
|
|
||||||
Minecraft.getMinecraft().fontRenderer.drawString(amount, 0, 0, 0xFFFFFF);
|
if (tile.getItemStack() != null) {
|
||||||
|
Minecraft.getMinecraft().fontRenderer.drawString(amount, 0, 0, 0xFFFFFF);
|
||||||
|
}
|
||||||
|
|
||||||
GlStateManager.popMatrix();
|
GlStateManager.popMatrix();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user