Closed dromzeh closed 3 years ago
Can reproduce, Spigot 1.17 Geyser 1.4.0.
Floodgate is currently not working on the new 1.17 spigot servers. More info in the announcements channel of Geyser Discord!
hope will be fix quickly
Can reproduce like above.
Error: [14:31:23] [Server thread/INFO]: [floodgate] Enabling floodgate v2.0-SNAPSHOT [14:31:23] [Server thread/WARN]: java.lang.ClassNotFoundException: net.minecraft.server.v1_17_R1.MinecraftServer [14:31:23] [Server thread/WARN]: at org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:140) [14:31:23] [Server thread/WARN]: at org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:99)
..
[14:31:23] [Server thread/ERROR]: [floodgate] Failed to inject the packet listener! java.lang.NullPointerException: Cannot invoke "java.lang.Class.getMethod(String, java.lang.Class[])" because "clazz" is null at org.geysermc.floodgate.util.ReflectionUtils.getMethod(ReflectionUtils.java:287) ~[?:?] at org.geysermc.floodgate.util.ReflectionUtils.getMethod(ReflectionUtils.java:306) ~[?:?] at org.geysermc.floodgate.util.ReflectionUtils.invokeStatic(ReflectionUtils.java:432) ~[?:?] at org.geysermc.floodgate.inject.spigot.SpigotInjector.getServerConnection(SpigotInjector.java:162) ~[?:?] at org.geysermc.floodgate.inject.spigot.SpigotInjector.inject(SpigotInjector.java:58) ~[?:?] at org.geysermc.floodgate.FloodgatePlatform.enable(FloodgatePlatform.java:124) ~[?:?] at org.geysermc.floodgate.SpigotPlatform.enable(SpigotPlatform.java:48) ~[?:?] at org.geysermc.floodgate.SpigotPlugin.onEnable(SpigotPlugin.java:66) ~[?:?]
..
[14:31:23] [Server thread/INFO]: [floodgate] Disabling floodgate v2.0-SNAPSHOT
Please do be patient! (Bear in mind I just woke up but) 1.17 has had some major internal changes in regards to Spigot.
Resolved in 58882e8.
You are great, thanks!!!!
this is so confusing pls explain
Describe the bug upon starting up my 1.17 spigot server, floodgate disables itself with a fair amount of errors followed: https://mclo.gs/WclT2zy
To Reproduce
Expected behaviour floodgate not disabling on spigot 1.17
Geyser version 1.4.0-SNAPSHOT (git-master-cc2d26d)
Server Version & Plugins CraftBukkit version 3102-Spigot-c9cea60-4d2c780 (MC: 1.17) + floodgate and geyser