SkriptLang / skript-reflect

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

Event priority error #50

Closed UsainSrht closed 2 years ago

UsainSrht commented 2 years ago

Describe the bug Gives error when you try to use event priority with imported event.

To reproduce You can use the given example on the wiki:

import:
  org.bukkit.event.entity.EnderDragonChangePhaseEvent

on EnderDragonChangePhaseEvent with priority highest:
  # your code

Expected behavior no errors

Screenshots image

Server information

TPGamesNL commented 2 years ago

Forgot to commit my code for this when https://github.com/SkriptLang/Skript/pull/4502 was merged, should be fixed now, try the latest Actions build