BadlionClient/BadlionClientModAPI

Support for 1.20.2

SirvydasS opened this issue · 5 comments

ERROR and cant join to the server.

image
https://pastebin.com/uUGYN2mU

Results are different for everyone. Plugin instead refuses to enable for me with this:

org.bukkit.plugin.InvalidPluginException: java.lang.RuntimeException: Failed to find PacketPlayOutCustomPayload class
at io.papermc.paper.plugin.provider.type.spigot.SpigotPluginProvider.createInstance(SpigotPluginProvider.java:127) ~[paper-1.20.2.jar:git-Paper-207]
at io.papermc.paper.plugin.provider.type.spigot.SpigotPluginProvider.createInstance(SpigotPluginProvider.java:35) ~[paper-1.20.2.jar:git-Paper-207]
at io.papermc.paper.plugin.entrypoint.strategy.modern.ModernPluginLoadingStrategy.loadProviders(ModernPluginLoadingStrategy.java:116) ~[paper-1.20.2.jar:git-Paper-207]
at io.papermc.paper.plugin.storage.SimpleProviderStorage.enter(SimpleProviderStorage.java:39) ~[paper-1.20.2.jar:git-Paper-207]
at io.papermc.paper.plugin.entrypoint.LaunchEntryPointHandler.enter(LaunchEntryPointHandler.java:36) ~[paper-1.20.2.jar:git-Paper-207]
at org.bukkit.craftbukkit.v1_20_R2.CraftServer.loadPlugins(CraftServer.java:512) ~[paper-1.20.2.jar:git-Paper-207]
at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:273) ~[paper-1.20.2.jar:git-Paper-207]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1086) ~[paper-1.20.2.jar:git-Paper-207]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:315) ~[paper-1.20.2.jar:git-Paper-207]
at java.lang.Thread.run(Thread.java:1583) ~[?:?]
Caused by: java.lang.RuntimeException: Failed to find PacketPlayOutCustomPayload class
at net.badlion.bukkitapi.BukkitPluginMessageSender.(BukkitPluginMessageSender.java:70) ~[Badlion-ModApi-Bukkit-1.17.jar:?]
at net.badlion.bukkitapi.BukkitBadlionPlugin.(BukkitBadlionPlugin.java:14) ~[Badlion-ModApi-Bukkit-1.17.jar:?]
at jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62) ~[?:?]
at java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502) ~[?:?]
at java.lang.reflect.ReflectAccess.newInstance(ReflectAccess.java:128) ~[?:?]
at jdk.internal.reflect.ReflectionFactory.newInstance(ReflectionFactory.java:304) ~[?:?]
at java.lang.Class.newInstance(Class.java:725) ~[?:?]
at org.bukkit.plugin.java.PluginClassLoader.(PluginClassLoader.java:88) ~[paper-api-1.20.2-R0.1-SNAPSHOT.jar:?]
at io.papermc.paper.plugin.provider.type.spigot.SpigotPluginProvider.createInstance(SpigotPluginProvider.java:123) ~[paper-1.20.2.jar:git-Paper-207]
... 9 more

Rigner commented

Thanks I'll investigate, Mojang changed some packet classes in 1.20.2 unfortunately

bumping this as no work seemed to have been done despite this being a critical issue

Rigner commented

An internal ticket has been made for this issue, will be worked on this week

Rigner commented

Hey, I found time to work on that today, it should be working properly in the latest build here: https://github.com/BadlionClient/BadlionClientModAPI/releases/tag/2.1.3

Thanks for reporting the issue and sorry for the delay!