TheYeti/mcMMO — Issue #107: CraftLightningStrike  etc error
Author: liquidox
Created: 2012-02-05 19:44:34+00:00
State: open

Using build 80.

20:42:41 [SEVERE] Could not pass event org.bukkit.event.entity.EntityDamageByEntityEvent to mcMMO
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.java:1026)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:57)
at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:30)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:453)
at net.minecraft.server.Entity.a(Entity.java:1349)
at net.minecraft.server.EntityWeatherLighting.y_(EntityWeatherLighting.java:118)
at net.minecraft.server.World.tickEntities(World.java:1107)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:528)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor46.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$103.execute(JavaPluginLoader.java:1024)
... 9 more
Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.entity.CraftLightningStrike cannot be cast to org.bukkit.entity.LivingEntity
at com.gmail.nossr50.skills.Swords.counterAttackChecks(Swords.java:204)
at com.gmail.nossr50.Combat.combatChecks(Combat.java:225)
at com.gmail.nossr50.listeners.mcEntityListener.onEntityDamage(mcEntityListener.java:147)
... 13 more
20:42:41 [SEVERE] Could not pass event org.bukkit.event.entity.EntityDamageByEntityEvent to mcMMO
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.java:1026)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:57)
at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:30)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:453)
at net.minecraft.server.Entity.a(Entity.java:1349)
at net.minecraft.server.EntityWeatherLighting.y_(EntityWeatherLighting.java:118)
at net.minecraft.server.World.tickEntities(World.java:1107)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:528)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor46.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$103.execute(JavaPluginLoader.java:1024)
... 9 more
Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.entity.CraftLightningStrike cannot be cast to org.bukkit.entity.LivingEntity
at com.gmail.nossr50.skills.Swords.counterAttackChecks(Swords.java:204)
at com.gmail.nossr50.Combat.combatChecks(Combat.java:225)
at com.gmail.nossr50.listeners.mcEntityListener.onEntityDamage(mcEntityListener.java:147)
... 13 more