cswendrowski / FoundryVTT-ViNo-Public

The public issue tracker for VIsual NOvel for FoundryVTT
GNU General Public License v3.0
4 stars 1 forks source link

Error on v9 build 238 with 3.5e SRD system 0.99.0: Cannot read properties of undefined #20

Open irbian opened 2 years ago

irbian commented 2 years ago

image

irbian commented 2 years ago

Looks like the solution would be to change _secheduleRefresh to something like:

    static async _scheduleRefresh() { 
        Logger.log("Refresh scheduled");
        await game.actors.updateAll({ data: { flags: { vino: { refreshNeeded: true } } } });        
    }

But I´m not an expert on v9 code (neither vivo)

irbian commented 2 years ago

Forget it, is not an error anymore, I was using the wrong version

I see that the code could use the new api, but that's all