Drives/Chests now charge power based on Cell Types.

This commit is contained in:
AlgorithmX2
2014-01-24 10:32:31 -06:00
parent 35d51e23fb
commit 1d539a33a8
3 changed files with 25 additions and 3 deletions
@@ -58,7 +58,7 @@ public class BasicCellHandler implements ICellHandler
@Override
public double cellIdleDrain(ItemStack is, IMEInventory handler)
{
CellInventory inv = (CellInventory) handler;
CellInventory inv = ((CellInventoryHandler) handler).getCellInv();
return inv.getIdleDrain();
}
}