SkriptLang / skript-reflect

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

Can't listen for custom events #68

Closed TheBentoBox closed 10 months ago

TheBentoBox commented 1 year ago

Describe the bug When running with Skript 2.7.0-beta2, sections which listen for custom events no longer parse. This happens both on the initial load and on subsequent reloads of the script.

To reproduce

  1. Create a custom event.
  2. Write an event listener for your custom event (e.g., on my custom event).

Expected behavior The handler should parse and should be fired when your custom event is fired.

Screenshots Example with a minimalist server setup. See VS Code sidebar, Skript + skript-reflect are my only plugins (as well as the patcher agent).

image image

Server information

TPGamesNL commented 10 months ago

Fixed in https://github.com/TPGamesNL/skript-reflect/commit/0abbe26b580017d23a04398cd2a33c5b69908897