Gui rendering cleanup

This commit is contained in:
mezz committed 2017-01-24 20:53:27 -08:00
1 parent 17f036522e
commit 31a305ffc2
173 files changed
+1317 -1349

No files matched your search

@@ -16,7 +16,7 @@ public class WindowAlvearyFrame extends Window {
ControlPlayerInventory playerInventory;
public WindowAlvearyFrame(final EntityPlayer player, final IInventory inventory, final Side side) {
super(176.0f, 144.0f, player, inventory, side);
super(176, 144, player, inventory, side);
this.machine = ((TileEntityMachine) inventory).getMachine();
}
@@ -31,7 +31,7 @@ public class WindowAlvearyFrame extends Window {
public void initialiseClient() {
this.setTitle("Frame Housing");
this.playerInventory = new ControlPlayerInventory(this);
final ControlSlot slot = new ControlSlot(this, 79.0f, 30.0f);
final ControlSlot slot = new ControlSlot(this, 79, 30);
slot.assign(0);
}