Fix | For some unknown reason the built-in API method for determining the inventory type used in the game checks could return the PLAYER inventory as a CHEST type. To address this I've gone ahead and implemented my own detection method which works consistently across versions, builds and whatnot.