Closed zeel01 closed 2 years ago
Describe the solution you'd like It would be nice if the dev mode api were passed into the devModeReady hook so that it wouldn't be necessary to retrieve it from game.modules.get("_dev-mode")?.api.
devModeReady
game.modules.get("_dev-mode")?.api
this is how it works today I think?
https://github.com/League-of-Foundry-Developers/foundryvtt-devMode/blob/main/foundryvtt-devMode.mjs#L36
https://github.com/League-of-Foundry-Developers/foundryvtt-devMode#step-1-register-your-debug-flag
Describe the solution you'd like It would be nice if the dev mode api were passed into the
devModeReady
hook so that it wouldn't be necessary to retrieve it fromgame.modules.get("_dev-mode")?.api
.