mirror of
https://github.com/GTNewHorizons/Chisel.git
synced 2026-11-13 00:37:42 +00:00
Allow all sides to be used for autochisel automation
This commit is contained in:
1 parent
389aa4e711
commit
5cf9829e0c
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