PluginBugs / Issues-EpicBackpacks

Repository used to keep track of issues of my plugin EpicBackpacks
1 stars 2 forks source link

Error loading ItemsAdderFirstLoadEvent in new IA version #116

Closed Joao-Victor-Liporini closed 1 month ago

Joao-Victor-Liporini commented 1 month ago

Describe the bug

I'm getting an error when loading EBP together with IA in the latest version of IA (3.6.4-release-2), the version of EBP I'm using is (1.3.17)

[15:45:52 ERROR]: Could not pass event ItemsAdderFirstLoadEvent to EpicBackpacks v1.3.17
java.lang.NoSuchMethodError: 'void dev.lone.LoneLibs.nbt.nbtapi.NBTItem.saveMetaChanges()'
        at dev.lone.EpicBackpacks.util.c.c(SourceFile:414) ~[EpicBackpacks_1.3.17.jar:?]
        at dev.lone.EpicBackpacks.a.a(SourceFile:286) ~[EpicBackpacks_1.3.17.jar:?]
        at dev.lone.EpicBackpacks.h.d(SourceFile:202) ~[EpicBackpacks_1.3.17.jar:?]
        at dev.lone.EpicBackpacks.Main.d(SourceFile:178) ~[EpicBackpacks_1.3.17.jar:?]
        at dev.lone.EpicBackpacks.j.a(SourceFile:22) ~[EpicBackpacks_1.3.17.jar:?]
        at com.destroystokyo.paper.event.executor.MethodHandleEventExecutor.execute(MethodHandleEventExecutor.java:40) ~[purpur-api-1.20.4-R0.1-SNAPSHOT.jar:?]
        at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:77) ~[purpur-api-1.20.4-R0.1-SNAPSHOT.jar:git-Purpur-2174]
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[purpur-api-1.20.4-R0.1-SNAPSHOT.jar:?]
        at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54) ~[purpur-1.20.4.jar:git-Purpur-2174]
        at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:126) ~[purpur-1.20.4.jar:git-Purpur-2174]
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:617) ~[purpur-api-1.20.4-R0.1-SNAPSHOT.jar:?]
        at ia.m.sf.a(SourceFile:74) ~[ItemsAdder_3.6.4-release-2.jar:?]
        at ia.m.G.d(SourceFile:928) ~[ItemsAdder_3.6.4-release-2.jar:?]
        at org.bukkit.craftbukkit.v1_20_R3.scheduler.CraftTask.run(CraftTask.java:101) ~[purpur-1.20.4.jar:git-Purpur-2174]
        at org.bukkit.craftbukkit.v1_20_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:482) ~[purpur-1.20.4.jar:git-Purpur-2174]
        at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1679) ~[purpur-1.20.4.jar:git-Purpur-2174]
        at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:487) ~[purpur-1.20.4.jar:git-Purpur-2174]
        at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1558) ~[purpur-1.20.4.jar:git-Purpur-2174]
        at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1246) ~[purpur-1.20.4.jar:git-Purpur-2174]
        at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:323) ~[purpur-1.20.4.jar:git-Purpur-2174]
        at java.lang.Thread.run(Thread.java:840) ~[?:?]

To Reproduce Steps to reproduce the behavior:

  1. Download the version 3.6.4-release-2 of IA and the version 1.3.17 of EBP
  2. Install them
  3. Start the server
  4. See error

Expected behavior The plugin works fine with both combinations

Screenshots image Info (please complete the following information):