less calls on onInventoryChanged method

this is the last commit I'm making. After this gets merged into the crafting branch I'll merge the crafting branch into the master branch