saveAndUpdate();
}
}
if ( amount < merged )
{
<BUG>final ItemStack out = stack.copy();
</BUG>
ModUtil.setStackSize( out, merged - amount );
return out;
}

saveAndUpdate();
}
}
if ( amount < merged )
{
final ItemStack out = ModUtil.copy( stack );
ModUtil.setStackSize( out, merged - amount );
return out;
}
