-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
None
-
None
-
CraftBukkit version 3537-Spigot-56be6a8-622dbe6 (MC: 1.19)
-
Yes
Bukkit PR #759 (Add preview chat option in ServerListPingEvent) modifies the existing constructors of ServerListPingEvent, breaking the backwards compatibility with plugins using these constructors.
java.lang.NoSuchMethodError: 'void org.bukkit.event.server.ServerListPingEvent.<init>(java.net.InetAddress, java.lang.String, int, int)'
I'm unsure if that was intentional or not, but wanted to report that as some users started complaining about it after updating to a recent spigot 1.19 version. I will update my plugin accordingly if intentional, but wanted to report that anyway
Example code to reproduce if needed:
ServerListPingEvent serverListPingEvent = new ServerListPingEvent( new InetSocketAddress("127.0.0.1", 53345).getAddress(), "motd", Bukkit.getOnlinePlayers().size(), 500 );