Closed andris155 closed 6 years ago
This error should be impossible, could you please post how it happened and any way to reproduce it?
[14:39:52] [Server thread/ERROR]: Could not pass event PlayerCustomItemDamageEvent to AdditionsAPI v1.3.0
org.bukkit.event.EventException: null
at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:72) ~[patched_1.12.2.jar:git-Paper-1533]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78) ~[patched_1.12.2.jar:git-Paper-1533]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[patched_1.12.2.jar:git-Paper-1533]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:527) ~[patched_1.12.2.jar:git-Paper-1533]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:512) ~[patched_1.12.2.jar:git-Paper-1533]
at com.chrismin13.additionsapi.items.CustomItemStack.reduceDurability(CustomItemStack.java:322) ~[?:?]
at com.chrismin13.vanillaadditions.utils.TreeFeller$1.run(TreeFeller.java:308) ~[?:?]
at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:63) ~[patched_1.12.2.jar:git-Paper-1533]
at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:423) ~[patched_1.12.2.jar:git-Paper-1533]
at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:839) ~[patched_1.12.2.jar:git-Paper-1533]
at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:423) ~[patched_1.12.2.jar:git-Paper-1533]
at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:773) ~[patched_1.12.2.jar:git-Paper-1533]
at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:665) ~[patched_1.12.2.jar:git-Paper-1533]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_171]
Caused by: java.lang.NullPointerException
at com.chrismin13.additionsapi.items.CustomItemStack.getFakeDurability(CustomItemStack.java:250) ~[?:?]
at com.chrismin13.additionsapi.listeners.custom.PlayerCustomItemDamage.onPlayerCustomItemDamage(PlayerCustomItemDamage.java:45) ~[?:?]
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor196.execute(Unknown Source) ~[?:?]
at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:70) ~[patched_1.12.2.jar:git-Paper-1533]
... 13 more
I don't know. But flood this error in console sometimes.
Update both Vanilla Additions and the Additions API to the latest version.
This is the latest plugin version error.
Maybe it's paper Spigot? Honestly, I'm clueless. Find a way to replicate it, so I can try it out and see why it occurs.
Yes.
08.08 16:58:52 [Server] INFO This server is running Paper version git-Paper-1533 (MC: 1.12.2) (Implementing API version 1.12.2-R0.1-SNAPSHOT)
08.08 16:58:52 [Server] INFO Previous version: git-Paper-1532 (MC: 1.12.2)
08.08 16:58:52 [Server] INFO Checking version, please wait...
08.08 16:58:53 [Server] INFO You are running the latest version