GAH! How incredibly embarrassing.


I found that somehow I declared the inventoryList multiple times. Probably while debugging.

Anyway, I removed the extraneous inventoryList's and everything works as it should.