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

Add basic AppV2 compatability #35

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

dylanpiera
Copy link

Currently sound controls are added based on calls to renderActorSheet and renderItemSheet, for systems like the one I'm developing that are moving over to AppV2, these hooks aren't called as they have been replaced with renderActorSheetV2 and renderItemSheetV2.

Updated the hooks here so they call both app v1 and v2 hooks.

Besides this, app.object is no longer in use, for my system's compatability sake, I've added getters to my actor/item sheets to resolve this, but I've included a patch that should work for the majority of systems otherwise.

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

Successfully merging this pull request may close these issues.

1 participant