nossr50/mcMMO — Issue #158: [SEVERE] Could not pass event ENTITY_DAMAGE to mcMMO
Author: ScottSpittle
Created: 2011-12-05 17:10:38+00:00
State: open

CB 1559
mcMMo 1.2.05

02:03:20 [SEVERE] Could not pass event ENTITY_DAMAGE to mcMMO
java.lang.ClassCastException: org.bukkit.craftbukkit.CraftOfflinePlayer cannot be cast to org.bukkit.entity.Player
at com.gmail.nossr50.skills.Taming.getOwnerName(Taming.java:62)
at com.gmail.nossr50.Combat.combatChecks(Combat.java:148)
at com.gmail.nossr50.listeners.mcEntityListener.onEntityDamage(mcEntityListener.java:144)
at org.bukkit.plugin.java.JavaPluginLoader$63.execute(JavaPluginLoader.java:700)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
at net.minecraft.server.EntityHuman.f(EntityHuman.java:783)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:915)
at net.minecraft.server.Packet7UseEntity.a(SourceFile:33)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:550)
at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:516)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:414)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)