event handle error
LadyCailinBot opened this issue ยท 1 comments
CRAFTBOOK-3193 - Reported by foxi69
[19:18:50] [Server thread/ERROR]: Could not pass event HangingBreakByEntityEvent to CraftBook v3.9-SNAPSHOT
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[spigot.jar:git-Spigot-e000104-4cb3258]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot.jar:git-Spigot-e000104-4cb3258]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot.jar:git-Spigot-e000104-4cb3258]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot.jar:git-Spigot-e000104-4cb3258]
at net.minecraft.server.v1_9_R1.EntityHanging.damageEntity(EntityHanging.java:185) [spigot.jar:git-Spigot-e000104-4cb3258]
at net.minecraft.server.v1_9_R1.EntityHanging.t(EntityHanging.java:165) [spigot.jar:git-Spigot-e000104-4cb3258]
at net.minecraft.server.v1_9_R1.EntityHuman.attack(EntityHuman.java:931) [spigot.jar:git-Spigot-e000104-4cb3258]
at net.minecraft.server.v1_9_R1.EntityPlayer.attack(EntityPlayer.java:1129) [spigot.jar:git-Spigot-e000104-4cb3258]
at net.minecraft.server.v1_9_R1.PlayerConnection.a(PlayerConnection.java:1577) [spigot.jar:git-Spigot-e000104-4cb3258]
at de.robingrether.idisguise.management.channel.InjectedPlayerConnection191.a(InjectedPlayerConnection191.java:40) [iDisguise-v5.2.3.jar:?]
at net.minecraft.server.v1_9_R1.PacketPlayInUseEntity.a(SourceFile:68) [spigot.jar:git-Spigot-e000104-4cb3258]
at net.minecraft.server.v1_9_R1.PacketPlayInUseEntity.a(SourceFile:12) [spigot.jar:git-Spigot-e000104-4cb3258]
at net.minecraft.server.v1_9_R1.PlayerConnectionUtils$1.run(SourceFile:13) [spigot.jar:git-Spigot-e000104-4cb3258]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_91]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_91]
at net.minecraft.server.v1_9_R1.SystemUtils.a(SourceFile:45) [spigot.jar:git-Spigot-e000104-4cb3258]
at net.minecraft.server.v1_9_R1.MinecraftServer.D(MinecraftServer.java:721) [spigot.jar:git-Spigot-e000104-4cb3258]
at net.minecraft.server.v1_9_R1.DedicatedServer.D(DedicatedServer.java:400) [spigot.jar:git-Spigot-e000104-4cb3258]
at net.minecraft.server.v1_9_R1.MinecraftServer.C(MinecraftServer.java:660) [spigot.jar:git-Spigot-e000104-4cb3258]
at net.minecraft.server.v1_9_R1.MinecraftServer.run(MinecraftServer.java:559) [spigot.jar:git-Spigot-e000104-4cb3258]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_91]
Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.v1_9_R1.entity.CraftLeash cannot be cast to org.bukkit.entity.Tameable
at com.sk89q.craftbook.mechanics.BetterLeads.onHitchBreak(BetterLeads.java:170) ~[?:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_91]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_91]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_91]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot.jar:git-Spigot-e000104-4cb3258]
... 20 more