mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-22 04:52:25 +00:00
Quick fix for transporter color issue
This commit is contained in:
1 parent
78c3fe50ca
commit
28b209800a
2 files changed
+8
-10
No files matched your search
@@ -86,7 +86,7 @@ public class GuiSideConfiguration extends GuiMekanism
|
||||
|
||||
for(int i = 0; i < slotPosMap.size(); i++)
|
||||
{
|
||||
GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
|
||||
MekanismRenderer.resetColor();
|
||||
|
||||
int x = slotPosMap.get(i).xPos;
|
||||
int y = slotPosMap.get(i).yPos;
|
||||
@@ -95,7 +95,7 @@ public class GuiSideConfiguration extends GuiMekanism
|
||||
|
||||
if(data.color != EnumColor.GREY)
|
||||
{
|
||||
GL11.glColor4f(data.color.getColor(0), data.color.getColor(1), data.color.getColor(2), 1);
|
||||
MekanismRenderer.color(data.color);
|
||||
}
|
||||
|
||||
if(xAxis >= x && xAxis <= x+14 && yAxis >= y && yAxis <= y+14)
|
||||
@@ -107,7 +107,7 @@ public class GuiSideConfiguration extends GuiMekanism
|
||||
}
|
||||
}
|
||||
|
||||
GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
|
||||
MekanismRenderer.resetColor();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user