mirror of
https://github.com/GTNewHorizons/Chisel.git
synced 2026-11-12 08:17:48 +00:00
Allow all sides to be used for autochisel automation
This commit is contained in:
1 parent
b87d80dbf1
commit
71016458bd
1 file changed
+2
-2
@@ -245,7 +245,7 @@ public class TileEntityAutoChisel extends TileEntity implements ISidedInventory
|
||||
@Override
|
||||
public boolean canInsertItem(int slot, ItemStack itemStack, int side) {
|
||||
if (hasUpgrade(Upgrade.AUTOMATION)) {
|
||||
if (side != 0 || side != 1 && slot == BASE) {
|
||||
if (slot == BASE) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -255,7 +255,7 @@ public class TileEntityAutoChisel extends TileEntity implements ISidedInventory
|
||||
@Override
|
||||
public boolean canExtractItem(int slot, ItemStack itemStack, int side) {
|
||||
if (hasUpgrade(Upgrade.AUTOMATION)) {
|
||||
if (side == 0 || side == 1 && slot == OUTPUT) {
|
||||
if (slot == OUTPUT) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user