pls help me
MinhMCPC opened this issue ยท 0 comments
[22:24:42] [Server thread/INFO]: [ProtocolLib] Enabling ProtocolLib v5.0.0
[22:24:42] [Server thread/ERROR]: [ProtocolLib] INTERNAL ERROR: Cannot enable 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.IllegalStateException: Unable to access field private final java.util.List net.minecraft.server.v1_16_R3.ServerConnection.listeningChannels
at com.comphenix.protocol.reflect.accessors.MethodHandleHelper.getFieldAccessor(MethodHandleHelper.java:119)
at com.comphenix.protocol.reflect.accessors.Accessors.getFieldAccessor(Accessors.java:84)
at com.comphenix.protocol.injector.netty.manager.NetworkManagerInjector.inject(NetworkManagerInjector.java:203)
at com.comphenix.protocol.injector.PacketFilterManager.registerEvents(PacketFilterManager.java:458)
at com.comphenix.protocol.ProtocolLib.onEnable(ProtocolLib.java:336)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:370)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:500)
at org.bukkit.craftbukkit.v1_16_R3.CraftServer.enablePlugin(CraftServer.java:518)
at org.bukkit.craftbukkit.v1_16_R3.CraftServer.enablePlugins(CraftServer.java:432)
at net.minecraft.server.v1_16_R3.DedicatedServer.init(DedicatedServer.java:270)
at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1074)
at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:291)
at net.minecraft.server.v1_16_R3.MinecraftServer$$Lambda$3165/0x0000000035c76600.run(Unknown Source)
at java.base/java.lang.Thread.run(Thread.java:883)
Caused by: java.lang.IllegalAccessException: illegal setter on final field
at java.base/java.lang.invoke.MethodHandles$Lookup.findSetter(MethodHandles.java:1084)
at com.comphenix.protocol.reflect.accessors.MethodHandleHelper.getFieldAccessor(MethodHandleHelper.java:96)
... 14 more
Dump:
manager:
com.comphenix.protocol.injector.PacketFilterManager@e8121c46[
plugin=ProtocolLib v5.0.0
server=CraftServer{serverName=Paper,serverVersion=git-Paper-794,minecraftVersion=1.16.5}
reporter=com.comphenix.protocol.ProtocolLib$1@59e9335
minecraftVersion=(MC: 1.16.5)
asyncFilterManager=com.comphenix.protocol.async.AsyncFilterManager@56a73330
pluginVerifier=com.comphenix.protocol.injector.PluginVerifier@c05ac0c7
inboundListeners=com.comphenix.protocol.injector.SortedPacketListenerList@f47843fc
outboundListeners=com.comphenix.protocol.injector.SortedPacketListenerList@a7814377
registeredListeners=[]
packetInjector=com.comphenix.protocol.injector.netty.manager.NetworkManagerPacketInjector@8afaa1bf
playerInjectionHandler=com.comphenix.protocol.injector.netty.manager.NetworkManagerPlayerInjector@c8a671d
networkManagerInjector=com.comphenix.protocol.injector.netty.manager.NetworkManagerInjector@eb8b1977
debug=false
closed=false
injected=true
]
Sender:
com.comphenix.protocol.ProtocolLib@6f999b16[
statistics=
packetTask=-1
tickCounter=0
configExpectedMod=-1
updater=com.comphenix.protocol.updater.SpigotUpdater@d3b21710
redirectHandler=com.comphenix.protocol.ProtocolLib$2@d2640832
commandProtocol=com.comphenix.protocol.CommandProtocol@517f89c9
commandPacket=com.comphenix.protocol.CommandPacket@ead9c242
commandFilter=com.comphenix.protocol.CommandFilter@142c3a0
packetLogging=com.comphenix.protocol.PacketLogging@b942ab1e
skipDisable=false
isEnabled=true
loader=org.bukkit.plugin.java.JavaPluginLoader@bc61643c
server=CraftServer{serverName=Paper,serverVersion=git-Paper-794,minecraftVersion=1.16.5}
file=plugins/ProtocolLib.jar
description=org.bukkit.plugin.PluginDescriptionFile@1a7b2b6a
dataFolder=plugins/ProtocolLib
classLoader=PluginClassLoader{plugin=ProtocolLib v5.0.0, pluginEnabled=true, url=plugins/ProtocolLib.jar}
naggable=true
newConfig=YamlConfiguration[path='', root='YamlConfiguration']
configFile=plugins/ProtocolLib/config.yml
logger=com.destroystokyo.paper.utils.PaperPluginLogger@1b0a37ce
]
Version:
ProtocolLib v5.0.0
Java Version:
16.0.2
Server:
git-Paper-794 (MC: 1.16.5)