Start removing need for keeping track of guiWidth and guiHeight, as they are equal to guiLeft and guiTop

This commit is contained in:
pupnewfster committed 2019-07-08 11:47:36 -04:00
1 parent a7b29c209f
commit d6b27e95a2
47 files changed
+218 -263

No files matched your search

@@ -40,7 +40,7 @@ public class GuiDynamicTank extends GuiEmbeddedGaugeTile<TileEntityDynamicTank>
}
@Override
protected void drawGuiContainerBackgroundLayer(int guiWidth, int guiHeight, int xAxis, int yAxis) {
protected void drawGuiContainerBackgroundLayer(int xAxis, int yAxis) {
int scaledFluidLevel = tileEntity.getScaledFluidLevel(58);
if (scaledFluidLevel > 0 && tileEntity.structure != null) {
displayGauge(7, 14, scaledFluidLevel, tileEntity.structure.fluidStored, 0);