Issue running protocolib on 1.21.4
greaternot opened this issue ยท 1 comments
I am 100% sure i am using the right appropirate plugins to run on 1.21.4
trying to implement AdvancedReplay for logging purposes on my server but seemingly being met with the following error:
[04:17:28 WARN]: [AdvancedReplay] Plugin AdvancedReplay v1.8.12 generated an exception while executing task 6
java.lang.ExceptionInInitializerError: null
at Replay (2).jar/me.jumper251.replay.replaysystem.utils.entities.PacketNPC.getInfoAddPacket(PacketNPC.java:317) ~[Replay (2).jar:?]
at Replay (2).jar/me.jumper251.replay.utils.ProtocolLibUtil.prepare(ProtocolLibUtil.java:15) ~[Replay (2).jar:?]
at Replay (2).jar/me.jumper251.replay.utils.ReplayManager.delayedInit(ReplayManager.java:38) ~[Replay (2).jar:?]
at org.bukkit.craftbukkit.scheduler.CraftTask.run(CraftTask.java:78) ~[paper-1.21.4.jar:1.21.4-232-12d8fe0]
at org.bukkit.craftbukkit.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57) ~[paper-1.21.4.jar:1.21.4-232-12d8fe0]
at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[paper-1.21.4.jar:?]
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]
Caused by: java.lang.IllegalArgumentException: Unable to find a method that matches {modifiers=[required: 0, banned: 0], return={ type exactly class java.lang.String }, params=[{ Parameter Type: { type input instanceof interface net.minecraft.network.chat.Component }, Index: null }, { Parameter Type: { type input instanceof interface net.minecraft.core.HolderLookup$Provider }, Index: null }]}
at ProtocolLib (12).jar/com.comphenix.protocol.reflect.FuzzyReflection.getMethod(FuzzyReflection.java:193) ~[ProtocolLib (12).jar:?]
at ProtocolLib (12).jar/com.comphenix.protocol.wrappers.WrappedChatComponent.(WrappedChatComponent.java:53) ~[ProtocolLib (12).jar:?]
... 9 more
seems like ProtocolLib is having issues running on 1.21.4 that AdvancedReplay which needs the dependency of ProtocolLib to work, doesnt load for use.
Please mind fixing ProtocolLib for 1.21.4, i will really appreciate it!