mirror of
https://github.com/GTNewHorizons/WirelessCraftingTerminal.git
synced 2026-11-26 14:52:56 +00:00
Update BS+SA
This commit is contained in:
2 files changed
+137
-8
No files matched your search
+4
-2
@@ -224,7 +224,8 @@ public class ContainerWirelessCraftingTerminal extends AEBaseContainer
|
||||
|
||||
// Add hotbar slots
|
||||
for (int i = 0; i < 9; ++i) {
|
||||
if (player.inventory.getStackInSlot(i) != null && player.inventory.getStackInSlot(i).getItem() == this.thisItem) {
|
||||
if (player.inventory.getStackInSlot(i) != null
|
||||
&& player.inventory.getStackInSlot(i).getItem() == this.thisItem) {
|
||||
hotbarSlot[i] = new SlotDisabled(this.inventoryPlayer, i, i * 18 + 8, 58);
|
||||
} else {
|
||||
hotbarSlot[i] = new SlotPlayerHotBar(this.inventoryPlayer, i, i * 18 + 8, 58);
|
||||
@@ -237,7 +238,8 @@ public class ContainerWirelessCraftingTerminal extends AEBaseContainer
|
||||
// Add player inventory slots
|
||||
for (int i = 0; i < 3; ++i) {
|
||||
for (int j = 0; j < 9; ++j) {
|
||||
if (player.inventory.getStackInSlot(j + i * 9 + 9) != null && player.inventory.getStackInSlot(j + i * 9 + 9).getItem() == this.thisItem) {
|
||||
if (player.inventory.getStackInSlot(j + i * 9 + 9) != null
|
||||
&& player.inventory.getStackInSlot(j + i * 9 + 9).getItem() == this.thisItem) {
|
||||
inventorySlot[k] = new SlotDisabled(this.inventoryPlayer, j + i * 9 + 9, j * 18 + 8, i * 18);
|
||||
} else {
|
||||
inventorySlot[k] = new SlotPlayerInv(this.inventoryPlayer, j + i * 9 + 9, j * 18 + 8, i * 18);
|
||||
|
||||
Reference in new issue
Block a user