if(tile instanceof IManaPool) {
IManaPool pool = (IManaPool) tile;
if(!item.worldObj.isRemote && pool.getCurrentMana() >= MANA_PER_TICK) {
pool.recieveMana(-MANA_PER_TICK);
item.worldObj.markBlockForUpdate(tile.xCoord, tile.yCoord, tile.zCoord);
incrementCraftingTime(item, time);
break getManaFromPools;
}
}