Did the same with the inventory adder

See previous commit