You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
onFirstInit does not trigger when importing if a addon library with the same namespace was imported previously, also it does not trigger even if the previously imported library was removed via macros with library.removeAddOn or library.removeAllAddOns
To Reproduce
create or download a valid addon library with a onFirstInit event (included is a valid mtlib file named with zip) test.zip
import the library
change the name field in the library.json object
import the library again
notice that if the prompt of this namespace already exists appears then the onFirstInit event won't trigger
remove the library with macros
import it again
the onFirstInit event won't happen
Expected Behaviour
every time a addon library is imported it's onFirstInit event should be triggered even if it is replacing another library
Screenshots
No response
MapTool Info
1.11 alpha 4
Desktop
archlinux
Additional Context
No response
The text was updated successfully, but these errors were encountered:
Describe the Bug
onFirstInit does not trigger when importing if a addon library with the same namespace was imported previously, also it does not trigger even if the previously imported library was removed via macros with library.removeAddOn or library.removeAllAddOns
To Reproduce
test.zip
Expected Behaviour
every time a addon library is imported it's onFirstInit event should be triggered even if it is replacing another library
Screenshots
No response
MapTool Info
1.11 alpha 4
Desktop
archlinux
Additional Context
No response
The text was updated successfully, but these errors were encountered: