ProtocolLib

3M Downloads

1.17 Server Version

kingvonx opened this issue ยท 1 comments

commented

[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: 0, banned: 0], type={
fields=[{modifiers=[required: 0, banned: 0], type=Exact class net.minecraft.world.entity.Entity}],
methods=[{modifiers=[required: 0, banned: 0], params=[{Type: Exact class java.lang.String, Index: null}], paramCount=1}],
constructors=[{modifiers=[required: 0, banned: 0], params=[{Type: class net.minecraft.server.dedicated.DedicatedServer instanceof input, Index: 0}, {Type: class net.minecraft.world.entity.Entity instanceof input, Index: 2}], paramCount=3}]
}}
at com.comphenix.protocol.reflect.FuzzyReflection.getField(FuzzyReflection.java:460)
at com.comphenix.protocol.utility.MinecraftReflection.getPlayerConnectionClass(MinecraftReflection.java:1065)
at com.comphenix.protocol.utility.MinecraftReflection.getNetworkManagerClass(MinecraftReflection.java:1082)
at com.comphenix.protocol.utility.MinecraftReflection.getEnumProtocolClass(MinecraftReflection.java:758)
at com.comphenix.protocol.injector.netty.ProtocolRegistry.(ProtocolRegistry.java:58)
at com.comphenix.protocol.injector.netty.NettyProtocolRegistry.(NettyProtocolRegistry.java:43)
at com.comphenix.protocol.injector.packet.PacketRegistry.initialize(PacketRegistry.java:54)
at com.comphenix.protocol.injector.packet.PacketRegistry.getClientPacketTypes(PacketRegistry.java:112)
at com.comphenix.protocol.injector.PacketFilterManager.(PacketFilterManager.java:211)
at com.comphenix.protocol.injector.PacketFilterBuilder.buildInternal(PacketFilterBuilder.java:185)
at com.comphenix.protocol.injector.PacketFilterBuilder.build(PacketFilterBuilder.java:177)
at com.comphenix.protocol.ProtocolLib.onLoad(ProtocolLib.java:198)
at org.bukkit.craftbukkit.v1_17_R1.CraftServer.loadPlugins(CraftServer.java:389)
at net.minecraft.server.dedicated.DedicatedServer.init(DedicatedServer.java:232)
at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:987)
at net.minecraft.server.MinecraftServer.lambda$0(MinecraftServer.java:307)
at java.base/java.lang.Thread.run(Thread.java:831)
Dump:
Parameters:
[NULL]
Sender:
com.comphenix.protocol.ProtocolLib@11226430[
statistics=
backgroundCompiler=
packetTask=-1
tickCounter=0
unhookTask=com.comphenix.protocol.injector.DelayedSingleTask@7e35eb82
configExpectedMod=-1
updater=com.comphenix.protocol.updater.SpigotUpdater@7bde362e
redirectHandler=
commandProtocol=
commandPacket=
commandFilter=
packetLogging=
skipDisable=false
isEnabled=false
loader=org.bukkit.plugin.java.JavaPluginLoader@7fce964f
server=CraftServer{serverName=CraftBukkit,serverVersion=3149-Spigot-101ebb6-9122f5a,minecraftVersion=1.17}
file=plugins/ProtocolLib.jar
description=org.bukkit.plugin.PluginDescriptionFile@2c77f3b2
dataFolder=plugins/ProtocolLib
classLoader=org.bukkit.plugin.java.PluginClassLoader@389cfa29
naggable=true
newConfig=YamlConfiguration[path='', root='YamlConfiguration']
configFile=plugins/ProtocolLib/config.yml
logger=org.bukkit.plugin.PluginLogger@2d655927
]
Version:
ProtocolLib v4.6.0
Java Version:
16.0.1
Server:
3149-Spigot-101ebb6-9122f5a (MC: 1.17)

commented

This is fixed in the 4.7.0 release. Find it here: https://github.com/dmulloy2/ProtocolLib/releases/tag/4.7.0