This should fix the problems people have had with wands deleting items. It seems that the addItem method was trying to combine stacks and anything less than the max stack for the currently held item meant it would stay in the held item slot. Now we manually check for an empty slot that is not the held slow. bug 501:resolved
Merging inv changes to master/elixr for bug 501