From 71b5fd4555f1cec434d92efb32fd06f64f182679 Mon Sep 17 00:00:00 2001 From: AlgorithmX2 Date: Wed, 16 Apr 2014 12:16:21 -0500 Subject: [PATCH] Hid View Cells on Portable Cell and ME Chest. --- client/gui/implementations/GuiMEMonitorable.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/client/gui/implementations/GuiMEMonitorable.java b/client/gui/implementations/GuiMEMonitorable.java index f1214cf0..b917842e 100644 --- a/client/gui/implementations/GuiMEMonitorable.java +++ b/client/gui/implementations/GuiMEMonitorable.java @@ -80,7 +80,7 @@ public class GuiMEMonitorable extends AEBaseMEGui implements ISortSource, IConfi myScrollBar = new GuiScrollbar(); repo = new ItemRepo( myScrollBar, this ); - xSize = 195; + xSize = 185; ySize = 204; if ( te instanceof IViewCellStorage ) @@ -295,7 +295,9 @@ public class GuiMEMonitorable extends AEBaseMEGui implements ISortSource, IConfi bindTexture( getBackground() ); this.drawTexturedModalRect( offsetX, offsetY, 0, 0, x_width, 18 ); - this.drawTexturedModalRect( offsetX + x_width, offsetY, x_width, 0, 46, 128 ); + + if ( viewCell ) + this.drawTexturedModalRect( offsetX + x_width, offsetY, x_width, 0, 46, 128 ); for (int x = 0; x < rows; x++) this.drawTexturedModalRect( offsetX, offsetY + 18 + x * 18, 0, 18, x_width, 18 );