SignShop v4

SignShop v4

992k Downloads

plugin breaks with 1.12 due to the removal of configuration.file.FileConfiguration.load

johnfriedrich opened this issue ยท 7 comments

commented

Just a small heads up.

commented

Do you happen to have a link explaining why this has happened? I can't seem to easily find it.

commented

same issue here:

[01:35:42] [Server thread/INFO]: [SignShop] Enabling SignShop v2.11.1
[01:35:42] [Server thread/ERROR]: Error occurred while enabling SignShop v2.11.1 (Is it up to date?)
java.lang.NoSuchMethodError: org.bukkit.configuration.file.FileConfiguration.load(Ljava/io/InputStream;)V
	at org.wargamer2010.signshop.configuration.configUtil.loadYMLFromJar(configUtil.java:197) ~[?:?]
	at org.wargamer2010.signshop.configuration.configUtil.loadYMLFromJar(configUtil.java:188) ~[?:?]
	at org.wargamer2010.signshop.configuration.SignShopConfig.initConfig(SignShopConfig.java:239) ~[?:?]
	at org.wargamer2010.signshop.configuration.SignShopConfig.init(SignShopConfig.java:102) ~[?:?]
	at org.wargamer2010.signshop.SignShop.onEnable(SignShop.java:99) ~[?:?]
	at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) ~[spigot-1.12.jar:git-Spigot-d5dfb24-ed8c725]
	at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:337) [spigot-1.12.jar:git-Spigot-d5dfb24-ed8c725]
	at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:402) [spigot-1.12.jar:git-Spigot-d5dfb24-ed8c725]
	at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugin(CraftServer.java:377) [spigot-1.12.jar:git-Spigot-d5dfb24-ed8c725]
	at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugins(CraftServer.java:327) [spigot-1.12.jar:git-Spigot-d5dfb24-ed8c725]
	at net.minecraft.server.v1_12_R1.MinecraftServer.t(MinecraftServer.java:421) [spigot-1.12.jar:git-Spigot-d5dfb24-ed8c725]
	at net.minecraft.server.v1_12_R1.MinecraftServer.l(MinecraftServer.java:382) [spigot-1.12.jar:git-Spigot-d5dfb24-ed8c725]
	at net.minecraft.server.v1_12_R1.MinecraftServer.a(MinecraftServer.java:337) [spigot-1.12.jar:git-Spigot-d5dfb24-ed8c725]
	at net.minecraft.server.v1_12_R1.DedicatedServer.init(DedicatedServer.java:272) [spigot-1.12.jar:git-Spigot-d5dfb24-ed8c725]
	at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:544) [spigot-1.12.jar:git-Spigot-d5dfb24-ed8c725]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]

Those guys in Spigotmc decided to remove some old API. I guess you probably just need to re-build it with the new bukkit API.

commented

@wargamer seems like it works.

commented

Confirmed here, it is working.

commented

Should be fixed with this commit: 1502e58
Version 2.11.2 with that commit included will be available as soon as it's approved, please let me know if that indeed fixes this specific issue.

commented

Fixed in version 2.11.2