nossr50/mcMMO — Issue #130: Could not pass event ENTITY_DAMAGE to mcMMO CBV1509
Author: ScottSpittle
Created: 2011-11-27 16:20:26+00:00
State: open

2011-11-27 23:14:24 [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:181)
at com.gmail.nossr50.listeners.mcEntityListener.onEntityDamage(mcEntityListener.java:146)
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:781)
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:546)
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)