Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V9 update needed for this line #1

Closed
datanerd3000 opened this issue Feb 13, 2022 · 4 comments
Closed

V9 update needed for this line #1

datanerd3000 opened this issue Feb 13, 2022 · 4 comments

Comments

@datanerd3000
Copy link

canvas.notes.createMany(noteDataResolved);

With foundry v9, they've updated the underlying process. I've found this works with v9 canvas.scene.createEmbeddedDocuments("Note", noteDataResolved); instead of canvas.notes.createMany(noteDataResolved);

@webmaster94
Copy link
Owner

Thank you for advising me on the syntax change in V9. I had not tried the script in v9 as I was still on v8 when I used it. I will evaluate the change you have suggested and let you know.

@webmaster94
Copy link
Owner

The module itself should work fine in v9 however. The script is only if you want to avoid using the content presented in the module.

@Gacky2k
Copy link

Gacky2k commented Mar 29, 2022

Works great! Thank you for sharing!

@webmaster94
Copy link
Owner

@datanerd3000 sorry about the delay in the fix. I have been very busy and have not had time to check that the fix suggested works. I have now verified that and updated the script appropriately, thank you for your suggestion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants