phaed420/SimpleClans — Issue #70: Error on Player Login
Author: lucasdidur
Created: 2011-12-04 12:39:12+00:00
State: open

When the player connect, show this error

2011-12-04 10:33:51 [INFO] Player [/177.42.22.206:60078] logged in with entity id 1 at ([world] -238.75, 63.0, 442.21875)
2011-12-04 10:33:51 [SEVERE] Could not pass event PLAYER_TELEPORT to SimpleClans
java.lang.ClassCastException: org.bukkit.craftbukkit.entity.CraftPlayer cannot be cast to org.getspout.spoutapi.player.SpoutPlayer
at org.getspout.spout.player.SimpleAppearanceManager.setGlobalCloak(SimpleAppearanceManager.java:43)
at net.sacredlabyrinth.phaed.simpleclans.managers.SpoutPluginManager.processPlayer(SpoutPluginManager.java:87)
at net.sacredlabyrinth.phaed.simpleclans.listeners.SCPlayerListener.onPlayerTeleport(SCPlayerListener.java:286)
at org.bukkit.plugin.java.JavaPluginLoader$9.execute(JavaPluginLoader.java:316)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:390)
at org.getspout.spout.player.SpoutCraftPlayer.updateNetServerHandler(SpoutCraftPlayer.java:1238)
at org.getspout.spout.SpoutPlayerListener.onPlayerJoin(SpoutPlayerListener.java:55)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:260)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:129)
at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:113)
at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:80)
at net.minecraft.server.Packet1Login.a(SourceFile:59)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:46)
at net.minecraft.server.NetworkListenThread.a(SourceFile:94)
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)