Use onDisable to close inventories

*Untested*