Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not pass event PlayerInteractEvent to ItemsAdder v3.6.6-legacy #4287

Open
6 tasks done
SymbioteSpidey opened this issue Jan 3, 2025 · 2 comments
Open
6 tasks done
Labels
type: bug Something isn't working

Comments

@SymbioteSpidey
Copy link

Terms

  • I'm using the very latest version of ItemsAdder and its dependencies.
  • I am sure this is a bug and it is not caused by a misconfiguration or by another plugin.
  • I've looked for already existing issues on the Issue Tracker and haven't found any.
  • I already searched on the plugin wiki to know if a solution is already known.
  • I searched the #itemsadder-forum channel on Discord for similar issues.
  • I tested that this issue persists on a bare-minimum Server as described in #4187.

Discord Username (optional)

thesymbiotespidey

What happened?

Duplication of IA items placed (doesn't take the item away but gives the item once broken)

Steps to reproduce the issue

  1. Start server
  2. Join server
  3. Do /iaget furnituresplusfree:amethyst_sofa_left
  4. Place the sofa down
  5. break the sofa

It won't take the sofa away when you place it so you can keep on placing and breaking to get unlimited sofas...

Server version

Forge 1.18.2 and Spigot hybrid

ItemsAdder Version

3.6.6-legacy

ProtocolLib Version

5.2.0

LoneLibs Version

1.0.63

Full Server Log

https://mclo.gs/KKdTxtw

Error (optional)

[22:50:15] [Server thread/INFO] [net.minecraft.server.network.ServerGamePacketListenerImpl]: SymbioteSpidey issued server command: /iaget furnituresplusfree:amethyst_sofa_left
[22:50:17] [Server thread/ERROR] [Minecraft]: Could not pass event PlayerInteractEvent to ItemsAdder v3.6.6-legacy
org.bukkit.event.EventException: null
	at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:319) ~[forge-1.18.2-40.2.18-universal.jar%2364!/:?]
	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[forge-1.18.2-40.2.18-universal.jar%2364!/:?]
	at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:594) ~[forge-1.18.2-40.2.18-universal.jar%2364!/:?]
	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:578) ~[forge-1.18.2-40.2.18-universal.jar%2364!/:?]
	at org.bukkit.craftbukkit.v1_18_R2.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:519) ~[forge-1.18.2-40.2.18-universal.jar%2364!/:?]
	at net.minecraft.server.level.ServerPlayerGameMode.m_7179_(ServerPlayerGameMode.java:414) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.server.network.ServerGamePacketListenerImpl.m_6371_(ServerGamePacketListenerImpl.java:1294) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.network.protocol.game.ServerboundUseItemOnPacket.m_5797_(ServerboundUseItemOnPacket.java:30) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.network.protocol.game.ServerboundUseItemOnPacket.m_5797_(ServerboundUseItemOnPacket.java:8) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.network.protocol.PacketUtils.m_131356_(PacketUtils.java:25) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.server.TickTask.run(TickTask.java:18) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.util.thread.BlockableEventLoop.m_6367_(BlockableEventLoop.java:157) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.util.thread.ReentrantBlockableEventLoop.m_6367_(ReentrantBlockableEventLoop.java:23) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.server.MinecraftServer.m_6367_(MinecraftServer.java:1100) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.server.MinecraftServer.m_6367_(MinecraftServer.java:173) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.util.thread.BlockableEventLoop.m_7245_(BlockableEventLoop.java:131) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.server.MinecraftServer.m_129961_(MinecraftServer.java:1083) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.server.MinecraftServer.m_7245_(MinecraftServer.java:1077) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.util.thread.BlockableEventLoop.m_18699_(BlockableEventLoop.java:116) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.server.MinecraftServer.m_130012_(MinecraftServer.java:1062) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:988) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.server.MinecraftServer.m_177918_(MinecraftServer.java:344) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at java.lang.Thread.run(Thread.java:840) [?:?]
Caused by: java.lang.IllegalArgumentException: Cannot create instance of class net.minecraft.network.protocol.game.ClientboundAnimatePacket
	at com.comphenix.protocol.injector.StructureCache.newInstance(StructureCache.java:95) ~[?:?]
	at com.comphenix.protocol.injector.StructureCache.newPacket(StructureCache.java:82) ~[?:?]
	at com.comphenix.protocol.injector.StructureCache.newPacket(StructureCache.java:217) ~[?:?]
	at com.comphenix.protocol.events.PacketContainer.<init>(PacketContainer.java:120) ~[?:?]
	at com.comphenix.protocol.injector.PacketFilterManager.createPacket(PacketFilterManager.java:362) ~[?:?]
	at ia.m.mW.a(SourceFile:140) ~[?:?]
	at ia.m.bA.a(SourceFile:330) ~[?:?]
	at ia.m.bA.a(SourceFile:230) ~[?:?]
	at ia.m.bV.a(SourceFile:177) ~[?:?]
	at ia.m.dt.a(SourceFile:176) ~[?:?]
	at ia.m.dt.k(SourceFile:292) ~[?:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
	at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
	at java.lang.reflect.Method.invoke(Method.java:569) ~[?:?]
	at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:315) ~[forge-1.18.2-40.2.18-universal.jar%2364!/:?]
	... 22 more
[22:50:30] [Server thread/INFO] [net.minecraft.server.network.ServerGamePacketListenerImpl]: SymbioteSpidey issued server command: /gms
[22:50:36] [Server thread/ERROR] [Minecraft]: Could not pass event PlayerInteractEvent to ItemsAdder v3.6.6-legacy
org.bukkit.event.EventException: null
	at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:319) ~[forge-1.18.2-40.2.18-universal.jar%2364!/:?]
	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[forge-1.18.2-40.2.18-universal.jar%2364!/:?]
	at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:594) ~[forge-1.18.2-40.2.18-universal.jar%2364!/:?]
	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:578) ~[forge-1.18.2-40.2.18-universal.jar%2364!/:?]
	at org.bukkit.craftbukkit.v1_18_R2.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:519) ~[forge-1.18.2-40.2.18-universal.jar%2364!/:?]
	at net.minecraft.server.level.ServerPlayerGameMode.m_7179_(ServerPlayerGameMode.java:414) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.server.network.ServerGamePacketListenerImpl.m_6371_(ServerGamePacketListenerImpl.java:1294) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.network.protocol.game.ServerboundUseItemOnPacket.m_5797_(ServerboundUseItemOnPacket.java:30) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.network.protocol.game.ServerboundUseItemOnPacket.m_5797_(ServerboundUseItemOnPacket.java:8) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.network.protocol.PacketUtils.m_131356_(PacketUtils.java:25) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.server.TickTask.run(TickTask.java:18) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.util.thread.BlockableEventLoop.m_6367_(BlockableEventLoop.java:157) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.util.thread.ReentrantBlockableEventLoop.m_6367_(ReentrantBlockableEventLoop.java:23) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.server.MinecraftServer.m_6367_(MinecraftServer.java:1100) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.server.MinecraftServer.m_6367_(MinecraftServer.java:173) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.util.thread.BlockableEventLoop.m_7245_(BlockableEventLoop.java:131) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.server.MinecraftServer.m_129961_(MinecraftServer.java:1083) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.server.MinecraftServer.m_7245_(MinecraftServer.java:1077) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.util.thread.BlockableEventLoop.m_18699_(BlockableEventLoop.java:116) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.server.MinecraftServer.m_130012_(MinecraftServer.java:1062) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:988) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.server.MinecraftServer.m_177918_(MinecraftServer.java:344) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at java.lang.Thread.run(Thread.java:840) [?:?]
Caused by: java.lang.IllegalArgumentException: Cannot create instance of class net.minecraft.network.protocol.game.ClientboundAnimatePacket
	at com.comphenix.protocol.injector.StructureCache.newInstance(StructureCache.java:95) ~[?:?]
	at com.comphenix.protocol.injector.StructureCache.newPacket(StructureCache.java:82) ~[?:?]
	at com.comphenix.protocol.injector.StructureCache.newPacket(StructureCache.java:217) ~[?:?]
	at com.comphenix.protocol.events.PacketContainer.<init>(PacketContainer.java:120) ~[?:?]
	at com.comphenix.protocol.injector.PacketFilterManager.createPacket(PacketFilterManager.java:362) ~[?:?]
	at ia.m.mW.a(SourceFile:140) ~[?:?]
	at ia.m.bA.a(SourceFile:330) ~[?:?]
	at ia.m.bA.a(SourceFile:230) ~[?:?]
	at ia.m.bV.a(SourceFile:177) ~[?:?]
	at ia.m.dt.a(SourceFile:176) ~[?:?]
	at ia.m.dt.k(SourceFile:292) ~[?:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
	at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
	at java.lang.reflect.Method.invoke(Method.java:569) ~[?:?]
	at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:315) ~[forge-1.18.2-40.2.18-universal.jar%2364!/:?]
	... 22 more
[22:50:36] [Server thread/ERROR] [Minecraft]: Could not pass event PlayerInteractEvent to ItemsAdder v3.6.6-legacy
org.bukkit.event.EventException: null
	at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:319) ~[forge-1.18.2-40.2.18-universal.jar%2364!/:?]
	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[forge-1.18.2-40.2.18-universal.jar%2364!/:?]
	at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:594) ~[forge-1.18.2-40.2.18-universal.jar%2364!/:?]
	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:578) ~[forge-1.18.2-40.2.18-universal.jar%2364!/:?]
	at org.bukkit.craftbukkit.v1_18_R2.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:519) ~[forge-1.18.2-40.2.18-universal.jar%2364!/:?]
	at net.minecraft.server.level.ServerPlayerGameMode.m_7179_(ServerPlayerGameMode.java:414) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.server.network.ServerGamePacketListenerImpl.m_6371_(ServerGamePacketListenerImpl.java:1294) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.network.protocol.game.ServerboundUseItemOnPacket.m_5797_(ServerboundUseItemOnPacket.java:30) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.network.protocol.game.ServerboundUseItemOnPacket.m_5797_(ServerboundUseItemOnPacket.java:8) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.network.protocol.PacketUtils.m_131356_(PacketUtils.java:25) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.server.TickTask.run(TickTask.java:18) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.util.thread.BlockableEventLoop.m_6367_(BlockableEventLoop.java:157) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.util.thread.ReentrantBlockableEventLoop.m_6367_(ReentrantBlockableEventLoop.java:23) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.server.MinecraftServer.m_6367_(MinecraftServer.java:1100) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.server.MinecraftServer.m_6367_(MinecraftServer.java:173) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.util.thread.BlockableEventLoop.m_7245_(BlockableEventLoop.java:131) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.server.MinecraftServer.m_129961_(MinecraftServer.java:1083) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.server.MinecraftServer.m_7245_(MinecraftServer.java:1077) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.util.thread.BlockableEventLoop.m_18699_(BlockableEventLoop.java:116) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.server.MinecraftServer.m_130012_(MinecraftServer.java:1062) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:988) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.server.MinecraftServer.m_177918_(MinecraftServer.java:344) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at java.lang.Thread.run(Thread.java:840) [?:?]
Caused by: java.lang.IllegalArgumentException: Cannot create instance of class net.minecraft.network.protocol.game.ClientboundAnimatePacket
	at com.comphenix.protocol.injector.StructureCache.newInstance(StructureCache.java:95) ~[?:?]
	at com.comphenix.protocol.injector.StructureCache.newPacket(StructureCache.java:82) ~[?:?]
	at com.comphenix.protocol.injector.StructureCache.newPacket(StructureCache.java:217) ~[?:?]
	at com.comphenix.protocol.events.PacketContainer.<init>(PacketContainer.java:120) ~[?:?]
	at com.comphenix.protocol.injector.PacketFilterManager.createPacket(PacketFilterManager.java:362) ~[?:?]
	at ia.m.mW.a(SourceFile:140) ~[?:?]
	at ia.m.bA.a(SourceFile:330) ~[?:?]
	at ia.m.bA.a(SourceFile:230) ~[?:?]
	at ia.m.bV.a(SourceFile:177) ~[?:?]
	at ia.m.dt.a(SourceFile:176) ~[?:?]
	at ia.m.dt.k(SourceFile:292) ~[?:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
	at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
	at java.lang.reflect.Method.invoke(Method.java:569) ~[?:?]
	at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:315) ~[forge-1.18.2-40.2.18-universal.jar%2364!/:?]
	... 22 more
[22:50:36] [Server thread/ERROR] [Minecraft]: Could not pass event PlayerInteractEvent to ItemsAdder v3.6.6-legacy
org.bukkit.event.EventException: null
	at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:319) ~[forge-1.18.2-40.2.18-universal.jar%2364!/:?]
	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[forge-1.18.2-40.2.18-universal.jar%2364!/:?]
	at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:594) ~[forge-1.18.2-40.2.18-universal.jar%2364!/:?]
	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:578) ~[forge-1.18.2-40.2.18-universal.jar%2364!/:?]
	at org.bukkit.craftbukkit.v1_18_R2.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:519) ~[forge-1.18.2-40.2.18-universal.jar%2364!/:?]
	at net.minecraft.server.level.ServerPlayerGameMode.m_7179_(ServerPlayerGameMode.java:414) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.server.network.ServerGamePacketListenerImpl.m_6371_(ServerGamePacketListenerImpl.java:1294) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.network.protocol.game.ServerboundUseItemOnPacket.m_5797_(ServerboundUseItemOnPacket.java:30) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.network.protocol.game.ServerboundUseItemOnPacket.m_5797_(ServerboundUseItemOnPacket.java:8) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.network.protocol.PacketUtils.m_131356_(PacketUtils.java:25) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.server.TickTask.run(TickTask.java:18) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.util.thread.BlockableEventLoop.m_6367_(BlockableEventLoop.java:157) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.util.thread.ReentrantBlockableEventLoop.m_6367_(ReentrantBlockableEventLoop.java:23) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.server.MinecraftServer.m_6367_(MinecraftServer.java:1100) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.server.MinecraftServer.m_6367_(MinecraftServer.java:173) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.util.thread.BlockableEventLoop.m_7245_(BlockableEventLoop.java:131) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.server.MinecraftServer.m_129961_(MinecraftServer.java:1083) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.server.MinecraftServer.m_7245_(MinecraftServer.java:1077) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.util.thread.BlockableEventLoop.m_18699_(BlockableEventLoop.java:116) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.server.MinecraftServer.m_130012_(MinecraftServer.java:1062) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:988) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.server.MinecraftServer.m_177918_(MinecraftServer.java:344) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at java.lang.Thread.run(Thread.java:840) [?:?]
Caused by: java.lang.IllegalArgumentException: Cannot create instance of class net.minecraft.network.protocol.game.ClientboundAnimatePacket
	at com.comphenix.protocol.injector.StructureCache.newInstance(StructureCache.java:95) ~[?:?]
	at com.comphenix.protocol.injector.StructureCache.newPacket(StructureCache.java:82) ~[?:?]
	at com.comphenix.protocol.injector.StructureCache.newPacket(StructureCache.java:217) ~[?:?]
	at com.comphenix.protocol.events.PacketContainer.<init>(PacketContainer.java:120) ~[?:?]
	at com.comphenix.protocol.injector.PacketFilterManager.createPacket(PacketFilterManager.java:362) ~[?:?]
	at ia.m.mW.a(SourceFile:140) ~[?:?]
	at ia.m.bA.a(SourceFile:330) ~[?:?]
	at ia.m.bA.a(SourceFile:230) ~[?:?]
	at ia.m.bV.a(SourceFile:177) ~[?:?]
	at ia.m.dt.a(SourceFile:176) ~[?:?]
	at ia.m.dt.k(SourceFile:292) ~[?:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
	at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
	at java.lang.reflect.Method.invoke(Method.java:569) ~[?:?]
	at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:315) ~[forge-1.18.2-40.2.18-universal.jar%2364!/:?]
	... 22 more
[22:50:36] [Server thread/ERROR] [Minecraft]: Could not pass event PlayerInteractEvent to ItemsAdder v3.6.6-legacy
org.bukkit.event.EventException: null
	at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:319) ~[forge-1.18.2-40.2.18-universal.jar%2364!/:?]
	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[forge-1.18.2-40.2.18-universal.jar%2364!/:?]
	at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:594) ~[forge-1.18.2-40.2.18-universal.jar%2364!/:?]
	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:578) ~[forge-1.18.2-40.2.18-universal.jar%2364!/:?]
	at org.bukkit.craftbukkit.v1_18_R2.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:519) ~[forge-1.18.2-40.2.18-universal.jar%2364!/:?]
	at net.minecraft.server.level.ServerPlayerGameMode.m_7179_(ServerPlayerGameMode.java:414) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.server.network.ServerGamePacketListenerImpl.m_6371_(ServerGamePacketListenerImpl.java:1294) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.network.protocol.game.ServerboundUseItemOnPacket.m_5797_(ServerboundUseItemOnPacket.java:30) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.network.protocol.game.ServerboundUseItemOnPacket.m_5797_(ServerboundUseItemOnPacket.java:8) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.network.protocol.PacketUtils.m_131356_(PacketUtils.java:25) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.server.TickTask.run(TickTask.java:18) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.util.thread.BlockableEventLoop.m_6367_(BlockableEventLoop.java:157) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.util.thread.ReentrantBlockableEventLoop.m_6367_(ReentrantBlockableEventLoop.java:23) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.server.MinecraftServer.m_6367_(MinecraftServer.java:1100) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.server.MinecraftServer.m_6367_(MinecraftServer.java:173) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.util.thread.BlockableEventLoop.m_7245_(BlockableEventLoop.java:131) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.server.MinecraftServer.m_129961_(MinecraftServer.java:1083) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.server.MinecraftServer.m_7245_(MinecraftServer.java:1077) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.util.thread.BlockableEventLoop.m_18699_(BlockableEventLoop.java:116) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.server.MinecraftServer.m_130012_(MinecraftServer.java:1062) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:988) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.server.MinecraftServer.m_177918_(MinecraftServer.java:344) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at java.lang.Thread.run(Thread.java:840) [?:?]
Caused by: java.lang.IllegalArgumentException: Cannot create instance of class net.minecraft.network.protocol.game.ClientboundAnimatePacket
	at com.comphenix.protocol.injector.StructureCache.newInstance(StructureCache.java:95) ~[?:?]
	at com.comphenix.protocol.injector.StructureCache.newPacket(StructureCache.java:82) ~[?:?]
	at com.comphenix.protocol.injector.StructureCache.newPacket(StructureCache.java:217) ~[?:?]
	at com.comphenix.protocol.events.PacketContainer.<init>(PacketContainer.java:120) ~[?:?]
	at com.comphenix.protocol.injector.PacketFilterManager.createPacket(PacketFilterManager.java:362) ~[?:?]
	at ia.m.mW.a(SourceFile:140) ~[?:?]
	at ia.m.bA.a(SourceFile:330) ~[?:?]
	at ia.m.bA.a(SourceFile:230) ~[?:?]
	at ia.m.bV.a(SourceFile:177) ~[?:?]
	at ia.m.dt.a(SourceFile:176) ~[?:?]
	at ia.m.dt.k(SourceFile:292) ~[?:?]
	at jdk.internal.reflect.GeneratedMethodAccessor346.invoke(Unknown Source) ~[?:?]
	at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
	at java.lang.reflect.Method.invoke(Method.java:569) ~[?:?]
	at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:315) ~[forge-1.18.2-40.2.18-universal.jar%2364!/:?]
	... 22 more
[22:50:36] [Server thread/ERROR] [Minecraft]: Could not pass event PlayerInteractEvent to ItemsAdder v3.6.6-legacy
org.bukkit.event.EventException: null
	at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:319) ~[forge-1.18.2-40.2.18-universal.jar%2364!/:?]
	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[forge-1.18.2-40.2.18-universal.jar%2364!/:?]
	at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:594) ~[forge-1.18.2-40.2.18-universal.jar%2364!/:?]
	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:578) ~[forge-1.18.2-40.2.18-universal.jar%2364!/:?]
	at org.bukkit.craftbukkit.v1_18_R2.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:519) ~[forge-1.18.2-40.2.18-universal.jar%2364!/:?]
	at net.minecraft.server.level.ServerPlayerGameMode.m_7179_(ServerPlayerGameMode.java:414) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.server.network.ServerGamePacketListenerImpl.m_6371_(ServerGamePacketListenerImpl.java:1294) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.network.protocol.game.ServerboundUseItemOnPacket.m_5797_(ServerboundUseItemOnPacket.java:30) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.network.protocol.game.ServerboundUseItemOnPacket.m_5797_(ServerboundUseItemOnPacket.java:8) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.network.protocol.PacketUtils.m_131356_(PacketUtils.java:25) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.server.TickTask.run(TickTask.java:18) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.util.thread.BlockableEventLoop.m_6367_(BlockableEventLoop.java:157) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.util.thread.ReentrantBlockableEventLoop.m_6367_(ReentrantBlockableEventLoop.java:23) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.server.MinecraftServer.m_6367_(MinecraftServer.java:1100) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.server.MinecraftServer.m_6367_(MinecraftServer.java:173) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.util.thread.BlockableEventLoop.m_7245_(BlockableEventLoop.java:131) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.server.MinecraftServer.m_129961_(MinecraftServer.java:1083) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.server.MinecraftServer.m_7245_(MinecraftServer.java:1077) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.util.thread.BlockableEventLoop.m_18699_(BlockableEventLoop.java:116) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.server.MinecraftServer.m_130012_(MinecraftServer.java:1062) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:988) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at net.minecraft.server.MinecraftServer.m_177918_(MinecraftServer.java:344) ~[server-1.18.2-20220404.173914-srg.jar%2359!/:?]
	at java.lang.Thread.run(Thread.java:840) [?:?]
Caused by: java.lang.IllegalArgumentException: Cannot create instance of class net.minecraft.network.protocol.game.ClientboundAnimatePacket
	at com.comphenix.protocol.injector.StructureCache.newInstance(StructureCache.java:95) ~[?:?]
	at com.comphenix.protocol.injector.StructureCache.newPacket(StructureCache.java:82) ~[?:?]
	at com.comphenix.protocol.injector.StructureCache.newPacket(StructureCache.java:217) ~[?:?]
	at com.comphenix.protocol.events.PacketContainer.<init>(PacketContainer.java:120) ~[?:?]
	at com.comphenix.protocol.injector.PacketFilterManager.createPacket(PacketFilterManager.java:362) ~[?:?]
	at ia.m.mW.a(SourceFile:140) ~[?:?]
	at ia.m.bA.a(SourceFile:330) ~[?:?]
	at ia.m.bA.a(SourceFile:230) ~[?:?]
	at ia.m.bV.a(SourceFile:177) ~[?:?]
	at ia.m.dt.a(SourceFile:176) ~[?:?]
	at ia.m.dt.k(SourceFile:292) ~[?:?]
	at jdk.internal.reflect.GeneratedMethodAccessor346.invoke(Unknown Source) ~[?:?]
	at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
	at java.lang.reflect.Method.invoke(Method.java:569) ~[?:?]
	at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:315) ~[forge-1.18.2-40.2.18-universal.jar%2364!/:?]
	... 22 more

Problematic items yml configuration file (optional)

No response

Other files, you can drag and drop them here to upload. (optional)

No response

Screenshots/Videos (you can drag and drop files or paste links)

No response

@SymbioteSpidey SymbioteSpidey added the type: bug Something isn't working label Jan 3, 2025
@Andre601
Copy link
Collaborator

Andre601 commented Jan 3, 2025

Please update ProtocolLib to 5.3.0 which is the recommended latest version for server versions up to and including 1.21.1.

@Andre601
Copy link
Collaborator

Andre601 commented Jan 3, 2025

Also, provide the full latest.log and not just the error. We ask for it for a reason.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
Status: New
Development

No branches or pull requests

2 participants