Clear the player's inventory before applying class