MrPrimate / tokenizer

Tiny yet capable in-game token editor for Foundry VTT
MIT License
29 stars 26 forks source link

Depreciation warning on opening an actor sheet #67

Closed marvin9257 closed 2 years ago

marvin9257 commented 2 years ago

The change to FVTT v9 is causing this line (#307 of hooks.js) to show a warning (depreciation) each time an actor sheet is open: https://github.com/MrPrimate/vtta-tokenizer/blob/e067b289b17317e40b38cf12d95414cbf585f5d9/src/hooks.js#L307

I think it should be

const doc = isNewerVersion(game.version, "0.8.2") Thanks.

MrPrimate commented 2 years ago

Resovled.