Merge branch 'development' into 1.8.9

Huge merge with 202 conflicts, hopefully not *too* broken.
This commit is contained in:
Ben Spiers committed 2016-03-18 04:24:19 +00:00
commit 84336ec4d1
571 files changed
+10295 -4773

No files matched your search

@@ -47,7 +47,7 @@ public class GuiGasTank extends GuiMekanism
int xAxis = (mouseX - (width - xSize) / 2);
int yAxis = (mouseY - (height - ySize) / 2);
String capacityInfo = tileEntity.gasTank.getStored() + "/" + tileEntity.MAX_GAS;
String capacityInfo = tileEntity.gasTank.getStored() + "/" + tileEntity.tier.storage;
fontRendererObj.drawString(tileEntity.getName(), (xSize / 2) - (fontRendererObj.getStringWidth(tileEntity.getName()) / 2), 6, 0x404040);
fontRendererObj.drawString(capacityInfo, 45, 40, 0x404040);
@@ -75,7 +75,7 @@ public class GuiGasTank extends GuiMekanism
if(tileEntity.gasTank.getGas() != null)
{
int scale = (int)(((double)tileEntity.gasTank.getStored() / tileEntity.MAX_GAS) * 72);
int scale = (int)(((double)tileEntity.gasTank.getStored() / tileEntity.tier.storage) * 72);
drawTexturedModalRect(guiWidth + 65, guiHeight + 17, 176, 0, scale, 10);
}