Rocologo / MobHunting

Mob hunting plugin for Minecraft Servers
24 stars 22 forks source link

ProtoLib meed update. #762

Open OusmBlueNinja opened 1 year ago

OusmBlueNinja commented 1 year ago

the version of proto lib you use, it not compatable with 1.19.4, therefore you whole pluugin crashes


[21:21:06] [Server thread/INFO]: [ProtocolLib] Loading ProtocolLib v4.8.0
[21:21:06] [Server thread/WARN]: [ProtocolLib] Version (MC: 1.19.4) has not yet been tested! Proceed with caution.
[21:21:07] [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.ExceptionInInitializerError
    at com.comphenix.protocol.injector.netty.ProtocolInjector.<init>(ProtocolInjector.java:69)
    at com.comphenix.protocol.injector.PacketFilterManager.<init>(PacketFilterManager.java:202)
    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:203)
    at org.bukkit.craftbukkit.v1_19_R3.CraftServer.loadPlugins(CraftServer.java:428)
    at net.minecraft.server.dedicated.DedicatedServer.e(DedicatedServer.java:219)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:975)
    at net.minecraft.server.MinecraftServer.lambda$0(MinecraftServer.java:304)
    at java.base/java.lang.Thread.run(Thread.java:1589)
  Caused by: java.lang.UnsupportedOperationException: Cannot define class using reflection: Unable to make protected java.lang.Package java.lang.ClassLoader.getPackage(java.lang.String) accessible: module java.base does not "opens java.lang" to unnamed module @215ae5b7
    at com.comphenix.net.bytebuddy.dynamic.loading.ClassInjector$UsingReflection$Dispatcher$Initializable$Unavailable.defineClass(ClassInjector.java:471)
    at com.comphenix.net.bytebuddy.dynamic.loading.ClassInjector$UsingReflection.injectRaw(ClassInjector.java:283)
    at com.comphenix.net.bytebuddy.dynamic.loading.ClassInjector$AbstractBase.inject(ClassInjector.java:117)
    at com.comphenix.net.bytebuddy.dynamic.loading.ClassLoadingStrategy$Default$InjectionDispatcher.load(ClassLoadingStrategy.java:243)
    at com.comphenix.net.bytebuddy.dynamic.loading.ClassLoadingStrategy$Default.load(ClassLoadingStrategy.java:150)
    at com.comphenix.net.bytebuddy.dynamic.TypeResolutionStrategy$Passive.initialize(TypeResolutionStrategy.java:101)
    at com.comphenix.net.bytebuddy.dynamic.DynamicType$Default$Unloaded.load(DynamicType.java:6161)
    at com.comphenix.protocol.injector.server.TemporaryPlayerFactory.setupProxyPlayerConstructor(TemporaryPlayerFactory.java:187)
    at com.comphenix.protocol.injector.server.TemporaryPlayerFactory.<clinit>(TemporaryPlayerFactory.java:51)
    ... 10 more
  Dump:
  Parameters: 
    [NULL]
  Sender:
    com.comphenix.protocol.ProtocolLib@4df0d456[
      statistics=<null>
      backgroundCompiler=<null>
      packetTask=-1
      tickCounter=0
      unhookTask=com.comphenix.protocol.injector.DelayedSingleTask@46f77d8d
      configExpectedMod=-1
      updater=com.comphenix.protocol.updater.SpigotUpdater@dee5361
      redirectHandler=<null>
      commandProtocol=<null>
      commandPacket=<null>
      commandFilter=<null>
      packetLogging=<null>
      skipDisable=false
      isEnabled=false
      loader=org.bukkit.plugin.java.JavaPluginLoader@7f266f3d
      server=CraftServer{serverName=CraftBukkit,serverVersion=3744-Spigot-d1bd3bd-a7cfc77,minecraftVersion=1.19.4}
      file=plugins/MobHunting-8.5.3.jar
      description=org.bukkit.plugin.PluginDescriptionFile@3293deaf
      dataFolder=plugins/ProtocolLib
      classLoader=org.bukkit.plugin.java.PluginClassLoader@5177c0a
      naggable=true
      newConfig=YamlConfiguration[path='', root='YamlConfiguration']
      configFile=plugins/ProtocolLib/config.yml
      logger=org.bukkit.plugin.PluginLogger@4dad9242
    ]
  Version:
    ProtocolLib v4.8.0
  Java Version:
    19.0.2
  Server:
    3744-Spigot-d1bd3bd-a7cfc77 (MC: 1.19.4)