This commit is contained in:
gigabit101 2015-10-09 22:23:21 +01:00
parent 891a5f5d19
commit 4a12aaf581
2 changed files with 5 additions and 5 deletions

View file

@ -39,13 +39,13 @@ public class ContainerLesu extends TechRebornContainer {
for (i = 0; i < 3; ++i) { for (i = 0; i < 3; ++i) {
for (int j = 0; j < 9; ++j) { for (int j = 0; j < 9; ++j) {
this.addSlotToContainer(new Slot(player.inventory, j + i * 9 this.addSlotToContainer(new Slot(player.inventory, j + i * 9
+ 9, 7 + j * 16, 84 + i * 18 + 30)); + 9, 8 + j * 18, 84 + i * 18));
} }
} }
for (i = 0; i < 9; ++i) { for (i = 0; i < 9; ++i) {
this.addSlotToContainer(new Slot(player.inventory, i, 7 + i * 16, this.addSlotToContainer(new Slot(player.inventory, i, 8 + i * 18,
142 + 30)); 142));
} }
} }

View file

@ -21,8 +21,8 @@ public class GuiLesu extends GuiContainer {
public GuiLesu(EntityPlayer player, public GuiLesu(EntityPlayer player,
TileLesu tileaesu) { TileLesu tileaesu) {
super(new ContainerLesu(tileaesu, player)); super(new ContainerLesu(tileaesu, player));
this.xSize = 156; this.xSize = 176;
this.ySize = 200; this.ySize = 165;
aesu = tileaesu; aesu = tileaesu;
this.containerLesu = (ContainerLesu) this.inventorySlots; this.containerLesu = (ContainerLesu) this.inventorySlots;
} }