replaces onInventoryChanged() with markDirty()
Merge pull request #127 from way2muchnoise/1.7-update

replaces onInventoryChanged() with markDirty()