Describe the bug
At startup, errors are reported from the refreshToken hook because game.materialDeck only has the enableModule defined (with a value of false).
That hook requires the protection that occurs in the updateToken hook immediately after it.
Setup
Describe the bug At startup, errors are reported from the refreshToken hook because game.materialDeck only has the enableModule defined (with a value of false). That hook requires the protection that occurs in the updateToken hook immediately after it.