This PR aims to get Skript-Yaml working on MC 1.20+
Notable Changes:
SkriptYamlConstructor and SkriptYamlRepresenter include super constructor with params (old one was deprecated and finally removed in SnakeYaml 2.0 - Bukkit updated to SnakeYaml 2.0 in 1.20)
I added bStats as a dependency and shade it. Im not sure where bStats was coming from before, but it was giving me errors
Updated plugin.yml so you don't have to manually change the version each time, it'll just grab it from your pom
Updated plugin.yml to use api-version 1.16 (tested all the way back to 1.16 and it worked, 1.15 caused an error due to too old of a SnakeYaml version)
Fixed the serverVersion thing in onEnable(). It was returning "2" instead of "20" (for 1.20) thus not running the correct methods in the earlier mentioned classes (twas running the old methods via reflection, thus causing errors).
Testing:
Light testing on both Paper 1.19.4 and 1.20.1, both work fine
This PR aims to get Skript-Yaml working on MC 1.20+
Notable Changes:
Testing:
Issues: