This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
What steps will reproduce the problem?- Try to send any normal mail from the console
What is the expected output? What do you see instead?- Should send mail to the specified player, or should notify that you cannot send mail from console. Output is a ClassCastException where the sender of the command is being assumed to be a player
What version of the product are you using?v 1.4.4
Do you have an error log of what happened?
2013-10-20 16:56:37 [WARNING] Unexpected exception while parsing console command "sendmail Schmoller Hello!"org.bukkit.command.CommandException: Unhandled exception executing command 'sendmail' in plugin Mailings v1.4.4 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:192) at org.bukkit.craftbukkit.v1_6_R3.CraftServer.dispatchCommand(CraftServer.java:527) at org.bukkit.craftbukkit.v1_6_R3.CraftServer.dispatchServerCommand(CraftServer.java:516) at net.minecraft.server.v1_6_R3.DedicatedServer.as(DedicatedServer.java:276) at net.minecraft.server.v1_6_R3.DedicatedServer.t(DedicatedServer.java:241) at net.minecraft.server.v1_6_R3.MinecraftServer.s(MinecraftServer.java:483) at net.minecraft.server.v1_6_R3.MinecraftServer.run(MinecraftServer.java:415) at net.minecraft.server.v1_6_R3.ThreadServerApplication.run(SourceFile:583)Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.v1_6_R3.command.ColouredConsoleSender cannot be cast to org.bukkit.entity.Player at me.Caesar2011.Mailings.Commands.Cmd_Mail_Sendmail.execute(Cmd_Mail_Sendmail.java:40) at me.Caesar2011.Mailings.Mailings.onCommand(Mailings.java:138) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ... 8 more
Please provide any additional information below.- Running: CraftBukkit version git-Spigot-1122 (MC:1.6.4) (Implementing API version 1.6.4-R0.1-SNAPSHOT)
To post a comment, please login or register a new account.