The rewritten core's backwards compatibility is lower than its `api-version`
Pheotis opened this issue ยท 0 comments
Bug Description
Plugin.yml indicates that stargate rewritten targets the 1.16 API; the plugin is unable to start on anything lower than Spigot 1.18.X
Reproduction Steps
- Start the latest rewritten core on anything below Spigot 1.18
- See it fail to load.
Desired Behaviour
Either:
api-version
inplugin.yml
should be set to 1.18- The plugin should be able to load on 1.16 (which is what that is currently set to)
Observed Behaviour
To load, the plugin requires spigot 1.18 or better
Trace Logs
Spigot 1.17.1:
[Stargate] Enabling Stargate v1.0.0.16-NIGHTLY-2
Error occurred while enabling Stargate v1.0.0.16-NIGHTLY-2 (Is it up to date?)
java.lang.NoSuchMethodError: 'com.google.gson.JsonElement com.google.gson.JsonParser.parseReader(java.io.Reader)'
at org.sgrewritten.stargate.colors.ColorRegistry.loadColors(ColorRegistry.java:49) ~[?:?]
at org.sgrewritten.stargate.colors.ColorRegistry.<clinit>(ColorRegistry.java:29) ~[?:?]
at org.sgrewritten.stargate.Stargate.load(Stargate.java:421) ~[?:?]
at org.sgrewritten.stargate.Stargate.onEnable(Stargate.java:159) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) ~[spigot-1.17.1.jar:3284a-Spigot-3892929-0ab8487]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:342) ~[spigot-1.17.1.jar:3284a-Spigot-3892929-0ab8487]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:480) ~[spigot-1.17.1.jar:3284a-Spigot-3892929-0ab8487]
at org.bukkit.craftbukkit.v1_17_R1.CraftServer.enablePlugin(CraftServer.java:520) ~[spigot-1.17.1.jar:3284a-Spigot-3892929-0ab8487]
at org.bukkit.craftbukkit.v1_17_R1.CraftServer.enablePlugins(CraftServer.java:434) ~[spigot-1.17.1.jar:3284a-Spigot-3892929-0ab8487]
at net.minecraft.server.MinecraftServer.loadWorld(MinecraftServer.java:619) ~[spigot-1.17.1.jar:3284a-Spigot-3892929-0ab8487]
at net.minecraft.server.dedicated.DedicatedServer.init(DedicatedServer.java:266) ~[spigot-1.17.1.jar:3284a-Spigot-3892929-0ab8487]
at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1010) ~[spigot-1.17.1.jar:3284a-Spigot-3892929-0ab8487]
at net.minecraft.server.MinecraftServer.lambda$0(MinecraftServer.java:305) ~[spigot-1.17.1.jar:3284a-Spigot-3892929-0ab8487]
at java.lang.Thread.run(Thread.java:840) [?:?]
Other Information
ex. Screenshots, error messages, additional context, bugged files, etc.