Could not pass event PlayerRightClickEvent to Slimefun
L4BORG opened this issue · 0 comments
❗ Checklist
- I am using the official english version of Slimefun and did not modify the jar.
- I am using an up to date "DEV" (not "RC") version of Slimefun.
- I am aware that issues related to Slimefun addons need to be reported on their bug trackers and not here.
- I searched for similar open issues and could not find an existing bug report on this.
📍 Description
com.destroystokyo.paper.exception.ServerEventException: Could not pass event PlayerRightClickEvent to Slimefun vDEV - 999 (git e02eedd9)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:647)
at Slimefun4.jar//io.github.thebusybiscuit.slimefun4.implementation.listeners.SlimefunItemInteractListener.onRightClick(SlimefunItemInteractListener.java:62)
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor375.execute(Unknown Source)
at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69)
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:628)
at org.bukkit.craftbukkit.v1_17_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:543)
at net.minecraft.server.level.PlayerInteractManager.a(PlayerInteractManager.java:542)
at net.minecraft.server.network.PlayerConnection.a(PlayerConnection.java:1815)
at net.minecraft.network.protocol.game.PacketPlayInUseItem.a(PacketPlayInUseItem.java:33)
at net.minecraft.network.protocol.game.PacketPlayInUseItem.a(PacketPlayInUseItem.java:9)
at net.minecraft.network.protocol.PlayerConnectionUtils.lambda$ensureRunningOnSameThread$1(PlayerConnectionUtils.java:56)
at net.minecraft.server.TickTask.run(TickTask.java:18)
at net.minecraft.util.thread.IAsyncTaskHandler.executeTask(IAsyncTaskHandler.java:149)
at net.minecraft.util.thread.IAsyncTaskHandlerReentrant.executeTask(IAsyncTaskHandlerReentrant.java:23)
at net.minecraft.server.MinecraftServer.executeTask(MinecraftServer.java:1426)
at net.minecraft.server.MinecraftServer.executeTask(MinecraftServer.java:192)
at net.minecraft.util.thread.IAsyncTaskHandler.executeNext(IAsyncTaskHandler.java:122)
at net.minecraft.server.MinecraftServer.bf(MinecraftServer.java:1404)
at net.minecraft.server.MinecraftServer.executeNext(MinecraftServer.java:1397)
at net.minecraft.util.thread.IAsyncTaskHandler.awaitTasks(IAsyncTaskHandler.java:132)
at net.minecraft.server.MinecraftServer.sleepForTick(MinecraftServer.java:1375)
at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1286)
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319)
at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.lang.NullPointerException: Cannot invoke "String.equals(Object)" because "customName" is null
at Slimefun4.jar//io.github.thebusybiscuit.slimefun4.implementation.items.altar.AncientPedestal.getOriginalItemStack(AncientPedestal.java:112)
at Slimefun4.jar//io.github.thebusybiscuit.slimefun4.implementation.listeners.AncientAltarListener.usePedestal(AncientAltarListener.java:159)
at Slimefun4.jar//io.github.thebusybiscuit.slimefun4.implementation.listeners.AncientAltarListener.onInteract(AncientAltarListener.java:111)
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor440.execute(Unknown Source)
at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69)
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:628)
at Slimefun4.jar//io.github.thebusybiscuit.slimefun4.implementation.listeners.SlimefunItemInteractListener.onRightClick(SlimefunItemInteractListener.java:62)
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor375.execute(Unknown Source)
at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69)
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:628)
at org.bukkit.craftbukkit.v1_17_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:543)
at app//net.minecraft.server.level.ServerPlayerGameMode.useItemOn(ServerPlayerGameMode.java:542)
at app//net.minecraft.server.network.ServerGamePacketListenerImpl.handleUseItemOn(ServerGamePacketListenerImpl.java:1815)
at app//net.minecraft.network.protocol.game.ServerboundUseItemOnPacket.handle(ServerboundUseItemOnPacket.java:33)
at app//net.minecraft.network.protocol.game.ServerboundUseItemOnPacket.a(ServerboundUseItemOnPacket.java:9)
at app//net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$1(PacketUtils.java:56)
at app//net.minecraft.server.TickTask.run(TickTask.java:18)
at app//net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:149)
at app//net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:23)
at app//net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1426)
at app//net.minecraft.server.MinecraftServer.executeTask(MinecraftServer.java:192)
at app//net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:122)
at app//net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1404)
at app//net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1397)
at app//net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:132)
at app//net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1375)
at app//net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1286)
... 2 more
📑 Reproduction Steps
Not sure.
💡 Expected Behavior
N/A
📷 Screenshots / Videos
No response
📜 Server Log
No response
📂 /error-reports/
folder
No response
💻 Server Software
Paper
🎮 Minecraft Version
1.17.x
⭐ Slimefun version
> sf versions
[03:04:41 INFO]: This Server uses the following setup of Slimefun:
Paper git-Paper-408 (MC: 1.17.1)
Slimefun DEV - 999 (git e02eedd9)
Metrics-Module #28
Java 17
Installed Addons: (3)
EcoPower vDEV - 5 (git 5c1ecd68)
SlimefunLuckyBlocks vDEV - 36 (git 60f0c8dc)
ExoticGarden vDEV - 77 (git a2c4b6d3)
🧭 Other plugins
No response