Solved Skript Addon works only with /reload

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

Charlito33

Member
Nov 24, 2020
1
0
1
27
Hello,
I've made an Addon for Skript but I have a little issue with it...
When I start my local server, the skript doesn't load the syntax ("Can't understand this condition/effect...")
But, if I do a /reload, the Addon loads well ?!

Please explain me why

I tried :
- Reinstall Server
- Changing some things in Addon
- Using Magma (I use spigot or magma)
- Try if this do the same issue with an another addon (Answer : No)

Thanks
- Charlito33
[doublepost=1606292873,1606258680][/doublepost]Ok, now it's works, I think it got patched by itself...

What I've done :
- Installing another Addon
- Rebooting

Thanks !
[doublepost=1606293251][/doublepost]Ok, I found what I changed to make this working.

If you set this line Bukkit.getScoreboardManager().getMainScoreboard(); outside onEnable() (Like directly in the Class outside a method), the Skript won't work correctly !