SkriptLang / skript-reflect

Powerful reflection utilities for Skript.
MIT License
56 stars 19 forks source link

Ensure lastWhich is set correctly for CustomEvent parsing #92

Closed sovdeeth closed 3 months ago

sovdeeth commented 3 months ago

Previously, lastWhich was set when parsing the custom event definition, but not when actually using on my event, resulting in things like usable in and event-values to error as they didn't know what event they were being used in.

This ensures lastWhich is set when the parsing of the events themselves occurs.

Fixes #91