mirror of
https://github.com/GTNewHorizons/WirelessCraftingTerminal.git
synced 2026-11-26 06:42:55 +00:00
fix terminal in baubles & update hard deps (#46)
This commit is contained in:
1 parent
bde9445ea4
commit
b6c46b17d9
2 files changed
+6
-2
No files matched your search
@@ -1,5 +1,7 @@
|
||||
package net.p455w0rd.wirelesscraftingterminal.common.utils;
|
||||
|
||||
import static appeng.util.Platform.baublesSlotsOffset;
|
||||
|
||||
import net.minecraft.entity.player.InventoryPlayer;
|
||||
import net.minecraft.inventory.IInventory;
|
||||
import net.minecraft.item.ItemStack;
|
||||
@@ -120,7 +122,7 @@ public class RandomUtils {
|
||||
continue;
|
||||
}
|
||||
if (item.getItem() instanceof IWirelessCraftingTerminalItem) {
|
||||
wirelessTerm = new IntObjectImmutablePair<>(i + playerInv.getSizeInventory(), item);
|
||||
wirelessTerm = new IntObjectImmutablePair<>(i + baublesSlotsOffset, item);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user