Fix #377 Centrifuge, Peat Engine, Analyzer won't accept items

This commit is contained in:
mezz committed 2014-12-17 23:18:30 -08:00
1 parent 2d8cadea26
commit a1cf0ddf77
3 files changed
+4 -4

No files matched your search

@@ -358,7 +358,7 @@ public class TileAnalyzer extends TilePowered implements ISidedInventory, ILiqui
@Override
public boolean canInsertItem(int slot, ItemStack stack, int side) {
return isItemValidForSlot(side, stack);
return isItemValidForSlot(slot, stack);
}
@Override
@@ -409,8 +409,8 @@ public class EngineCopper extends Engine implements ISidedInventory {
/* ISIDEDINVENTORY */
@Override
public boolean canInsertItem(int i, ItemStack itemstack, int j) {
return isItemValidForSlot(xCoord, itemstack);
public boolean canInsertItem(int slotIndex, ItemStack itemstack, int side) {
return isItemValidForSlot(slotIndex, itemstack);
}
@Override
@@ -396,7 +396,7 @@ public class MachineCentrifuge extends TilePowered implements ISidedInventory {
/* ISIDEDINVENTORY */
@Override
public boolean canInsertItem(int slotIndex, ItemStack itemstack, int side) {
return isItemValidForSlot(xCoord, itemstack);
return isItemValidForSlot(slotIndex, itemstack);
}
@Override