CraftBook 3

CraftBook 3

139k Downloads

Console Error -- Could not pass event BlockBreakEvent

LadyCailinBot opened this issue ยท 2 comments

commented

CRAFTBOOK-2530 - Reported by rtcabooservb

Craftbook build 2110.
Craftbukkit build 2765.

[SEVERE] Could not pass event BlockBreakEvent to CraftBook v2110-ab942c1
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:26)
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:479)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:464)
at net.minecraft.server.v1_5_R3.PlayerInteractManager.breakBlock(PlayerInteractManager.java:276)
at net.minecraft.server.v1_5_R3.PlayerInteractManager.a(PlayerInteractManager.java:203)
at net.minecraft.server.v1_5_R3.PlayerConnection.a(PlayerConnection.java:554)
at net.minecraft.server.v1_5_R3.Packet14BlockDig.handle(SourceFile:46)
at org.spigotmc.netty.NettyNetworkManager.b(NettyNetworkManager.java:186)
at net.minecraft.server.v1_5_R3.PlayerConnection.d(PlayerConnection.java:110)
at net.minecraft.server.v1_5_R3.ServerConnection.b(SourceFile:35)
at org.spigotmc.MultiplexingServerConnection.b(MultiplexingServerConnection.java:72)
at net.minecraft.server.v1_5_R3.MinecraftServer.r(MinecraftServer.java:583)
at net.minecraft.server.v1_5_R3.DedicatedServer.r(DedicatedServer.java:224)
at net.minecraft.server.v1_5_R3.MinecraftServer.q(MinecraftServer.java:472)
at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:404)
at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573)
Caused by: java.lang.ClassCastException: org.bukkit.material.Button cannot be cast to org.bukkit.material.Lever
at com.sk89q.craftbook.bukkit.MechanicListenerAdapter.onBlockBreak(MechanicListenerAdapter.java:152)
at sun.reflect.GeneratedMethodAccessor122.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425)
... 17 more

commented

Comment by me4502

I'll look into this soon

commented

Comment by me4502

Fixed.