From 018e2603d59d31d6c12cf68a630dff861fcd9a48 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Sat, 13 Aug 2016 22:33:18 +0200 Subject: [PATCH] Yeah, great. Now the grinder can actually be opened again.. Closes #205 --- .../actuallyadditions/mod/inventory/gui/GuiGrinder.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/de/ellpeck/actuallyadditions/mod/inventory/gui/GuiGrinder.java b/src/main/java/de/ellpeck/actuallyadditions/mod/inventory/gui/GuiGrinder.java index 9e03512e2..0f7a9dd1d 100644 --- a/src/main/java/de/ellpeck/actuallyadditions/mod/inventory/gui/GuiGrinder.java +++ b/src/main/java/de/ellpeck/actuallyadditions/mod/inventory/gui/GuiGrinder.java @@ -78,7 +78,9 @@ public class GuiGrinder extends GuiContainer{ public void updateScreen(){ super.updateScreen(); - this.buttonAutoSplit.displayString = (this.tileGrinder.isAutoSplit ? TextFormatting.DARK_GREEN : TextFormatting.RED)+"S"; + if(this.isDouble){ + this.buttonAutoSplit.displayString = (this.tileGrinder.isAutoSplit ? TextFormatting.DARK_GREEN : TextFormatting.RED)+"S"; + } } @Override