MagicPlugin icon indicating copy to clipboard operation
MagicPlugin copied to clipboard

Error in Console with SKRIPT

Open Toakan opened this issue 3 years ago • 2 comments

There seems to be a race condition warning when checking if SKRIPT is loaded. Magic is returning the below.

Version: Magic-10.8.1

[11:19:11 WARN]: [Magic]  Error integrating with Skript
ch.njol.skript.SkriptAPIException: Registration can only be done during plugin initialization
        at ch.njol.skript.Skript.checkAcceptRegistrations(Skript.java:1223) ~[Skript.jar:?]

Possibly related to: https://github.com/SkriptLang/Skript/issues/4917

Toakan avatar Jul 25 '22 11:07 Toakan

I imagine the problem here is that Magic loads on startup (for world generation features) - it's always a little tricky to integrate with other plugins.

Kind of frustrating though, since I've never had issues with Skript integration before and this new check seems like a possible false-positive (Skript is likely not enabled yet ...).

I'll see what I can do, thank you for the report!

NathanWolf avatar Jul 25 '22 14:07 NathanWolf

This should be fixed in the next dev build: https://jenkins.elmakers.com/job/MagicPlugin/4186/

NathanWolf avatar Jul 25 '22 15:07 NathanWolf