aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gtPlusPlus/xmod/gregtech/api/gui/automation
diff options
context:
space:
mode:
authorAlkalus <3060479+draknyte1@users.noreply.github.com>2022-01-19 14:31:09 +0000
committerAlkalus <3060479+draknyte1@users.noreply.github.com>2022-01-19 14:33:27 +0000
commitc3e70a79b79294f6de6e6e553acd5f700f8898bb (patch)
treed51a36d2eb87162b467fe6f8bb05c6ee30632bf4 /src/main/java/gtPlusPlus/xmod/gregtech/api/gui/automation
parentaa0267acca1030b96b95569472ee8663e5cb34b3 (diff)
downloadGT5-Unofficial-c3e70a79b79294f6de6e6e553acd5f700f8898bb.tar.gz
GT5-Unofficial-c3e70a79b79294f6de6e6e553acd5f700f8898bb.tar.bz2
GT5-Unofficial-c3e70a79b79294f6de6e6e553acd5f700f8898bb.zip
Added textures for Redstone Circuit Block.
Fixed GUI tooltips breaking block lighting. Fixed creative energy buffer not keeping it's tier on world load.
Diffstat (limited to 'src/main/java/gtPlusPlus/xmod/gregtech/api/gui/automation')
-rw-r--r--src/main/java/gtPlusPlus/xmod/gregtech/api/gui/automation/GT_GUIContainer_ElectricAutoWorkbench.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/api/gui/automation/GT_GUIContainer_ElectricAutoWorkbench.java b/src/main/java/gtPlusPlus/xmod/gregtech/api/gui/automation/GT_GUIContainer_ElectricAutoWorkbench.java
index 7d381c0e8a..90f8380d14 100644
--- a/src/main/java/gtPlusPlus/xmod/gregtech/api/gui/automation/GT_GUIContainer_ElectricAutoWorkbench.java
+++ b/src/main/java/gtPlusPlus/xmod/gregtech/api/gui/automation/GT_GUIContainer_ElectricAutoWorkbench.java
@@ -7,6 +7,7 @@ import gregtech.api.gui.GT_GUIContainerMetaTile_Machine;
import gregtech.api.interfaces.tileentity.IGregTechTileEntity;
import gtPlusPlus.core.lib.CORE;
import gtPlusPlus.xmod.gregtech.api.gui.basic.GT_Container_CropHarvestor;
+import net.minecraft.client.renderer.RenderHelper;
import net.minecraft.entity.player.InventoryPlayer;
public class GT_GUIContainer_ElectricAutoWorkbench extends GT_GUIContainerMetaTile_Machine {
@@ -53,7 +54,9 @@ public class GT_GUIContainer_ElectricAutoWorkbench extends GT_GUIContainerMetaTi
}*/
}
}
- if (!list.isEmpty())
+ if (!list.isEmpty()) {
drawHoveringText(list, x3, y3, fontRendererObj);
+ RenderHelper.enableGUIStandardItemLighting();
+ }
}
}