I think the error is due to Particle.SPELL being removed/renamed
Observed/Actual behavior
com.destroystokyo.paper.exception.ServerEventException: Could not pass event PlayerToggleSprintEvent to BentoBox v2.4.2-SNAPSHOT-b2664
at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:72)
at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:131)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:628)
at net.minecraft.server.network.ServerGamePacketListenerImpl.handlePlayerCommand(ServerGamePacketListenerImpl.java:2605)
at net.minecraft.network.protocol.game.ServerboundPlayerCommandPacket.handle(ServerboundPlayerCommandPacket.java:46)
at net.minecraft.network.protocol.game.ServerboundPlayerCommandPacket.handle(ServerboundPlayerCommandPacket.java:18)
at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$0(PacketUtils.java:55)
at net.minecraft.server.TickTask.run(TickTask.java:18)
at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:151)
at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24)
at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1519)
at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:195)
at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:125)
at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1496)
at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1419)
at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:135)
at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1385)
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1246)
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:324)
at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: java.lang.NoSuchFieldError: Class org.bukkit.Particle does not have member field 'org.bukkit.Particle SPELL'
at world.bentobox.twerk.listeners.TreeGrowListener.lambda$twerk$16(TreeGrowListener.java:274)
at java.base/java.util.Optional.ifPresent(Optional.java:178)
at world.bentobox.twerk.listeners.TreeGrowListener.twerk(TreeGrowListener.java:257)
at world.bentobox.twerk.listeners.TreeGrowListener.onSprint(TreeGrowListener.java:252)
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor930.execute(Unknown Source)
at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:77)
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:77)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70)
at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54)
... 19 more
Expected behavior
I think the error is due to Particle.SPELL being removed/renamed
Observed/Actual behavior
Steps/models to reproduce
N/A
BentoBox version
Plugin list
No response
Other
No response