Sometimes when using this ability, I get the following error:
[Server thread/ERROR]: Could not pass event EntityChangeBlockEvent to ProjectKorra v1.8.6
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot.jar:git-Spigot-3fb9445-6e3cec8]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot.jar:git-Spigot-3fb9445-6e3cec8]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot.jar:git-Spigot-3fb9445-6e3cec8]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot.jar:git-Spigot-3fb9445-6e3cec8]
at org.bukkit.craftbukkit.v1_11_R1.event.CraftEventFactory.callEntityChangeBlockEvent(CraftEventFactory.java:708) [spigot.jar:git-Spigot-3fb9445-6e3cec8]
at org.bukkit.craftbukkit.v1_11_R1.event.CraftEventFactory.callEntityChangeBlockEvent(CraftEventFactory.java:702) [spigot.jar:git-Spigot-3fb9445-6e3cec8]
at org.bukkit.craftbukkit.v1_11_R1.event.CraftEventFactory.callEntityChangeBlockEvent(CraftEventFactory.java:698) [spigot.jar:git-Spigot-3fb9445-6e3cec8]
at net.minecraft.server.v1_11_R1.EntityFallingBlock.A_(EntityFallingBlock.java:104) [spigot.jar:git-Spigot-3fb9445-6e3cec8]
at net.minecraft.server.v1_11_R1.World.entityJoinedWorld(World.java:1631) [spigot.jar:git-Spigot-3fb9445-6e3cec8]
at net.minecraft.server.v1_11_R1.World.h(World.java:1606) [spigot.jar:git-Spigot-3fb9445-6e3cec8]
at net.minecraft.server.v1_11_R1.World.tickEntities(World.java:1432) [spigot.jar:git-Spigot-3fb9445-6e3cec8]
at net.minecraft.server.v1_11_R1.WorldServer.tickEntities(WorldServer.java:618) [spigot.jar:git-Spigot-3fb9445-6e3cec8]
at net.minecraft.server.v1_11_R1.MinecraftServer.D(MinecraftServer.java:814) [spigot.jar:git-Spigot-3fb9445-6e3cec8]
at net.minecraft.server.v1_11_R1.DedicatedServer.D(DedicatedServer.java:399) [spigot.jar:git-Spigot-3fb9445-6e3cec8]
at net.minecraft.server.v1_11_R1.MinecraftServer.C(MinecraftServer.java:678) [spigot.jar:git-Spigot-3fb9445-6e3cec8]
at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:576) [spigot.jar:git-Spigot-3fb9445-6e3cec8]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_141]
Caused by: java.lang.ClassCastException: me.simplicitee.lavaflux.LavaFlux cannot be cast to me.simplicitee.lavaflux.LavaFlux
at me.simplicitee.lavaflux.LavaFlux.onEntityChangeBlock(LavaFlux.java:257) ~[?:?]
at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_141]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_141]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[spigot.jar:git-Spigot-3fb9445-6e3cec8]
... 16 more
The magma blocks seem to fall through the ground and create a crevice that doesn't follow the LavaFlux revert time, but the earthbending revert time instead.
Here is the debug file:
https://www.pastiebin.com/599ab1b360d51