Skript

Skript

743k Downloads

Enum Serializers are ignored

ShaneBeee opened this issue ยท 0 comments

commented

Skript/Server Version

n/a

Bug Description

Whilst dealing with my Registry PR, I came to the conclusion that Skript completely ignores the serializers for Enum classes.
Long story short, Yggdrasil has its own enum parser that is used:


This can be a major issue.
Bukkit plans on switching all Enum classes that belong to a Minecraft Registry, to use classes with static fields.
Once this change happens, this can severely break how Skript (well, Yggdrasil) handles the Enums.

Expected Behavior

Yggdrasil should not be taking over.

Steps to Reproduce

n/a

Errors or Screenshots

No response

Other

No response

Agreement

  • I have read the guidelines above and affirm I am following them with this report.