601602603604605606607608609610611
if(remove) { for(TempItem tmp : materials) { inv.destroyItemByItemId("Manufacture", tmp.getItemId(), tmp.getQuantity(), _target, _player); } } inv = null; return materials;