e2da4773bdca696565351c0be1ded8a6c397b042
Modified GMPlayerPrivacySelectorMenu to extend ApplicationV2 (or fallback class) to be compatible with FoundryVTT's registerMenu API. FoundryVTT requires that menu types passed to registerMenu() must be a FormApplication or ApplicationV2 instance or subclass. Changes: - Added conditional _AppBase class (ApplicationV2 or fallback for tests) - Extended GMPlayerPrivacySelectorMenu from _AppBase - Added DEFAULT_OPTIONS static property for ApplicationV2 compatibility - Added super(options) call in constructor This fixes: Error: You must provide a menu type that is a FormApplication or ApplicationV2 instance or subclass Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
Description