ProtocolLib

3M Downloads

Bug report, crash on start spigotmc

angelorodem opened this issue ยท 1 comments

commented
  • This issue is not solved in a development build

Describe the bug
Breaks on opening 1.21.5 server

To Reproduce
Steps to reproduce the behavior:
install
run server

Log

[13:26:06] [Server thread/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 bind(interface java.util.function.Function): interface net.minecraft.network.ProtocolInfo in interface net.minecraft.network.ProtocolInfo$a
        at com.comphenix.protocol.reflect.FuzzyReflection.getMethodByReturnTypeAndParameters(FuzzyReflection.java:290)
        at com.comphenix.protocol.injector.packet.PacketRegistry.createRegisterV1_20_5(PacketRegistry.java:387)
        at com.comphenix.protocol.injector.packet.PacketRegistry.initialize(PacketRegistry.java:552)
        at com.comphenix.protocol.injector.packet.PacketRegistry.getClientPacketTypes(PacketRegistry.java:604)
        at com.comphenix.protocol.injector.PacketFilterManager.<init>(PacketFilterManager.java:112)
        at com.comphenix.protocol.injector.PacketFilterBuilder.build(PacketFilterBuilder.java:121)
        at com.comphenix.protocol.ProtocolLib.onLoad(ProtocolLib.java:179)
        at org.bukkit.craftbukkit.v1_21_R4.CraftServer.loadPlugins(CraftServer.java:472)
        at net.minecraft.server.dedicated.DedicatedServer.e(DedicatedServer.java:235)
        at net.minecraft.server.MinecraftServer.y(MinecraftServer.java:1007)
        at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:325)
        at java.base/java.lang.Thread.run(Thread.java:1583)
  Dump:
  Parameters:
    [NULL]
  Sender:
    com.comphenix.protocol.ProtocolLib@ef65c62[
      statistics=<null>
      packetTask=<null>
      tickCounter=0
      configExpectedMod=-1
      updater=com.comphenix.protocol.updater.SpigotUpdater@729874fe
      redirectHandler=<null>
      scheduler=com.comphenix.protocol.scheduler.DefaultScheduler@292cc27b
      commandProtocol=<null>
      commandPacket=<null>
      commandFilter=<null>
      packetLogging=<null>
      skipDisable=false
      isEnabled=false
      loader=org.bukkit.plugin.java.JavaPluginLoader@3f95012
      server=CraftServer{serverName=CraftBukkit,serverVersion=4503-Spigot-270012a-9119da2,minecraftVersion=1.21.5}
      file=plugins/ProtocolLib.jar
      description=org.bukkit.plugin.PluginDescriptionFile@14274e9c
      dataFolder=plugins/ProtocolLib
      classLoader=org.bukkit.plugin.java.PluginClassLoader@4301e86a
      naggable=true
      newConfig=YamlConfiguration[path='', root='YamlConfiguration']
      configFile=plugins/ProtocolLib/config.yml
      logger=org.bukkit.plugin.PluginLogger@5d413bf6
    ]
  Version:
    ProtocolLib v5.3.0
  Java Version:
    21.0.7
  Server:
    4503-Spigot-270012a-9119da2 (MC: 1.21.5)

commented

it does not work on 1.21.4 and above currently