#no longer able to make modal before hand?

1 messages · Page 1 of 1 (latest)

humble peak
#

New 2.0.0-beta doesnt seem to allow making a modal as globalvariable:

[2025-03-26 09:11:23:208 ERROR] [Scripting] ReferenceError: Native constructor for [ActionFormData] does not have required privileges.    at ActionFormData (native)
    at <anonymous> (main.js:4)

[2025-03-26 09:11:23:208 ERROR] [Scripting] Plugin [SnapMap Behaviour Pack - 1.0.0] - [main.js] ran with error: [ReferenceError: Native constructor for [ActionFormData] does not have required privileges.    at ActionFormData (native)
    at <anonymous> (main.js:4)
]

I cannot use a stable version, since it also has chat commands...

Does anyone have ideas for how to fix this ?

#

Do I have to make it a local variable inside the event callback?
I dont think that is efficient...

valid bear