Prevent items from being inserted into the CraftingStation #1522

This commit is contained in:
Bernhard Bonigl committed 2015-04-13 08:19:23 +02:00
1 parent 19bb390938
commit 8018cd4527
1 file changed
+2 -2
@@ -90,13 +90,13 @@ public class CraftingStationLogic extends InventoryLogic implements ISidedInvent
@Override
public int[] getAccessibleSlotsFromSide (int var1)
{
return new int[] { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9};
return new int[] {};
}
@Override
public boolean canInsertItem (int i, ItemStack itemstack, int j)
{
return i != 0;
return false;
}
@Override