- Плагин
- ProtocolLib
- Ядро сервера
- Spigot
- Paper
- Purpur
- Версия сервера
- 1.19
- Память сервера ОЗУ
- 4Gb
Не работает ProtocolLib, при запуске выдаёт ошибку:
Код:
[11:14:19 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:280)
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:293)
at net.minecraft.server.v1_16_R3.MinecraftServer$$Lambda$3160/0x00000000adf0f1e8.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@81545543[
plugin=ProtocolLib v5.0.0
server=CraftServer{serverName=Purpur,serverVersion=git-Purpur-1171,minecraftVersion=1.16.5}
reporter=com.comphenix.protocol.ProtocolLib$1@32b848d7
minecraftVersion=(MC: 1.16.5)
asyncFilterManager=com.comphenix.protocol.async.AsyncFilterManager@99e22644
pluginVerifier=com.comphenix.protocol.injector.PluginVerifier@63ef4937
inboundListeners=com.comphenix.protocol.injector.SortedPacketListenerList@975ab94d
outboundListeners=com.comphenix.protocol.injector.SortedPacketListenerList@d504e200
registeredListeners=[]
packetInjector=com.comphenix.protocol.injector.netty.manager.NetworkManagerPacketInjector@c443d542
playerInjectionHandler=com.comphenix.protocol.injector.netty.manager.NetworkManagerPlayerInjector@e002be4e
networkManagerInjector=com.comphenix.protocol.injector.netty.manager.NetworkManagerInjector@5855427f
debug=false
closed=false
injected=true
]
Sender:
com.comphenix.protocol.ProtocolLib@e9819908[
statistics=<null>
packetTask=-1
tickCounter=0
configExpectedMod=-1
updater=com.comphenix.protocol.updater.SpigotUpdater@4878925c
redirectHandler=com.comphenix.protocol.ProtocolLib$2@f47ee951
commandProtocol=com.comphenix.protocol.CommandProtocol@1de1d49f
commandPacket=com.comphenix.protocol.CommandPacket@95241a69
commandFilter=com.comphenix.protocol.CommandFilter@f52c9ce2
packetLogging=com.comphenix.protocol.PacketLogging@b9548e6c
skipDisable=false
isEnabled=true
loader=org.bukkit.plugin.java.JavaPluginLoader@f6c57ccc
server=CraftServer{serverName=Purpur,serverVersion=git-Purpur-1171,minecraftVersion=1.16.5}
file=plugins/ProtocolLib (2).jar
description=org.bukkit.plugin.PluginDescriptionFile@6a7e934b
dataFolder=plugins/ProtocolLib
classLoader=PluginClassLoader{plugin=ProtocolLib v5.0.0, pluginEnabled=true, url=plugins/ProtocolLib (2).jar}
naggable=true
newConfig=YamlConfiguration[path='', root='YamlConfiguration']
configFile=plugins/ProtocolLib/config.yml
logger=com.destroystokyo.paper.utils.PaperPluginLogger@4972537b
]
Version:
ProtocolLib v5.0.0
Java Version:
16.0.2
Server:
git-Purpur-1171 (MC: 1.16.5)
[11:14:19 INFO]: [ProtocolLib] Disabling ProtocolLib v5.0.0