Skip to content

Commit 46a7551

Browse files
committed
Better Processor Core Inserting
1 parent 3cddf5d commit 46a7551

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main/java/com/redcrafter07/ultrautilities/tileentity/CraftingStationTile.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@ public boolean isItemValid(int slot, @Nonnull ItemStack stack) {
5757
switch (slot) {
5858
case 0:
5959
return stack.getItem() == ModItems.PROCESSOR_CORE.get();
60+
case 1:
61+
return stack.getItem() != ModItems.PROCESSOR_CORE.get();
62+
case 2:
63+
return stack.getItem() != ModItems.PROCESSOR_CORE.get();
6064
default: return true;
6165
}
6266
}

0 commit comments

Comments
 (0)