WolfyScript / viewportl

A Minecraft Inventory GUI framework, designed to easily create reactive GUIs. Based on the well known Signal Reactivity System.
GNU General Public License v3.0
68 stars 12 forks source link

Bukkit enum improvements #61

Closed WolfyScript closed 2 years ago

WolfyScript commented 2 years ago

Bukkit enums that extend Keyed are no longer used directly inside of switch statements. Instead these switch statements are using the String representation of the enums. This fixes some incompatibility between versions and future changes in the Bukkit API (See https://www.spigotmc.org/threads/9-years-of-spigotmc-spigot-bungeecord-1-18-1-18-1-release.534760/#post-4305163)