SkriptLang / skript-reflect

Powerful reflection utilities for Skript.
MIT License
65 stars 20 forks source link

Error when using integers/numbers in custom events #107

Closed Palgia closed 6 months ago

Palgia commented 6 months ago

Describe the bug Using number and integer in custom events with multiple event-values can throw the following error when the server is loading another skript which use the event: "There's no integer in an on custom event event" (Yes, "event" is written two times)

Removing the number/integer from the event and the skript using the event removes the error.

To reproduce

Expected behavior I expected my event to be parsed without errors.

Screenshots I don't have any screenshot, the error is described above.

Server information

Additional context No context.

sovdeeth commented 6 months ago

Does this version fix your issue? skript-reflect-2.4-nightly.zip

Palgia commented 6 months ago

Yes! No errors and it works fine in game.

I'm making a quest skript. When my resource is published, can I indicate to players to download this specific version for my script to work, or are there any instabilities to know?

sovdeeth commented 6 months ago

No, it's exactly what you'd get if you built the main branch of reflect right now We do need to put out a 2.4.1 or whatever

sovdeeth commented 6 months ago

Closing as duplicate of #91