working on disabling player while in inventory mode