mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-19 11:49:14 +00:00
Fix worktable lock icon rendering poorly over enchanted items
This commit is contained in:
1 parent
d32530caba
commit
6346039f14
1 file changed
+2
-1
@@ -54,10 +54,11 @@ public class GuiWorktable extends GuiForestryTitled<TileWorktable> {
|
||||
ItemStack output = getOutputStack();
|
||||
if (output != null)
|
||||
manager.gui.drawItemStack(output, startX + xPos, startY + yPos);
|
||||
//RenderHelper.disableStandardItemLighting();
|
||||
|
||||
GL11.glPushAttrib(GL11.GL_ENABLE_BIT);
|
||||
GL11.glDisable(GL11.GL_DEPTH_TEST);
|
||||
GL11.glEnable(GL11.GL_BLEND);
|
||||
GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA);
|
||||
|
||||
if (worktable.getMemory().isLocked(slotNumber)) {
|
||||
manager.gui.setZLevel(110f);
|
||||
|
||||
Reference in new issue
Block a user