Fixed factory tab lighting

This commit is contained in:
aidancbrady committed 2016-01-13 23:15:58 -05:00
1 parent 2a78265419
commit 7f21516841
2 files changed
+2 -2

No files matched your search

@@ -78,8 +78,6 @@ public class GuiFactory extends GuiMekanism
@Override
protected void drawGuiContainerBackgroundLayer(float partialTick, int mouseX, int mouseY)
{
super.drawGuiContainerBackgroundLayer(partialTick, mouseX, mouseY);
mc.renderEngine.bindTexture(tileEntity.tier.guiLocation);
GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
int guiWidth = (width - xSize) / 2;
@@ -129,6 +127,8 @@ public class GuiFactory extends GuiMekanism
{
displayGauge(8, 78, tileEntity.getScaledGasLevel(160), 5, tileEntity.gasTank.getGas());
}
super.drawGuiContainerBackgroundLayer(partialTick, mouseX, mouseY);
}
public void displayGauge(int xPos, int yPos, int sizeX, int sizeY, GasStack gas)