dmulloy2 / ProtocolLib

Provides read and write access to the Minecraft protocol with Bukkit.
GNU General Public License v2.0
1.04k stars 257 forks source link

Internal ERROR (Spigot 1.20.6) #3167

Closed TheGh0st3rS closed 1 month ago

TheGh0st3rS commented 3 months ago

[19:36:42 INFO]: [ProtocolLib] Loading ProtocolLib v5.2.0-SNAPSHOT-679 [19:36:42 WARN]: [ProtocolLib] Version (MC: 1.20.6) has not yet been tested! Proceed with caution. [19:36:43 ERROR]: [ProtocolLib] INTERNAL ERROR: Cannot load ProtocolLib. If this problem hasn't already been reported, please open a ticket at https://github.com/dmulloy2/ProtocolLib/issues with the following data: Stack Trace: java.lang.IllegalArgumentException: Unable to find a field that matches {modifiers=[required: 10000, banned: 1000], type={ type input instanceof interface java.util.Map }} at com.comphenix.protocol.reflect.FuzzyReflection.getField(FuzzyReflection.java:352) at com.comphenix.protocol.injector.packet.PacketRegistry.createNewRegister(PacketRegistry.java:183) at com.comphenix.protocol.injector.packet.PacketRegistry.initialize(PacketRegistry.java:334) at com.comphenix.protocol.injector.packet.PacketRegistry.getClientPacketTypes(PacketRegistry.java:369) at com.comphenix.protocol.injector.PacketFilterManager.(PacketFilterManager.java:120) at com.comphenix.protocol.injector.PacketFilterBuilder.build(PacketFilterBuilder.java:121) at com.comphenix.protocol.ProtocolLib.onLoad(ProtocolLib.java:183) at org.bukkit.craftbukkit.v1_20_R4.CraftServer.loadPlugins(CraftServer.java:435) at net.minecraft.server.dedicated.DedicatedServer.e(DedicatedServer.java:232) at net.minecraft.server.MinecraftServer.y(MinecraftServer.java:1010) at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:311) at java.base/java.lang.Thread.run(Thread.java:1583) Dump: Parameters: [NULL] Sender: com.comphenix.protocol.ProtocolLib@38aaef6b[ statistics= packetTask= tickCounter=0 configExpectedMod=-1 updater=com.comphenix.protocol.updater.SpigotUpdater@729234e3 redirectHandler= scheduler=com.comphenix.protocol.scheduler.DefaultScheduler@1d2c5c6d commandProtocol= commandPacket= commandFilter= packetLogging= skipDisable=false isEnabled=false loader=org.bukkit.plugin.java.JavaPluginLoader@8fe3844 server=CraftServer{serverName=CraftBukkit,serverVersion=4149-Spigot-e2c1eee-4e7d749,minecraftVersion=1.20.6} file=plugins\ProtocolLib.jar description=org.bukkit.plugin.PluginDescriptionFile@5b716454 dataFolder=plugins\ProtocolLib classLoader=org.bukkit.plugin.java.PluginClassLoader@695cbd28 naggable=true newConfig=YamlConfiguration[path='', root='YamlConfiguration'] configFile=plugins\ProtocolLib\config.yml logger=org.bukkit.plugin.PluginLogger@704604f ] Version: ProtocolLib v5.2.0-SNAPSHOT-679 Java Version: 21.0.3 Server: 4149-Spigot-e2c1eee-4e7d749 (MC: 1.20.6)

Hi, this is my first issue, and I dont know what I need to have exactly.

RadiantUwU commented 3 months ago

Reproducible, also occurs on 1.21

Ingrim4 commented 3 months ago

Should be fixed in the latest dev build so please use the latest dev build and try again: https://ci.dmulloy2.net/job/ProtocolLib/lastSuccessfulBuild/