nossr50/mcMMO — Issue #188: Could not pass event ENTITY_DAMAGE to mcMMO
Author: maniacmusic
Created: 2011-12-19 15:23:04+00:00
State: open

Using mcMMO 1.2.07 and CB 1.0.0-R1
16:20:46 [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$64.execute(JavaPluginLoader.java:711)
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:916)
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:93)
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:527)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
16:20:47 [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$64.execute(JavaPluginLoader.java:711)
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:916)
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:93)
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:527)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
16:20:47 [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$64.execute(JavaPluginLoader.java:711)
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:916)
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:93)
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:527)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)