TheYeti/mcMMO — Issue #150: mmoedit not working, giving errors when used in console
Author: j2ther
Created: 2012-02-11 06:22:52+00:00
State: open

mmoedit will not work while typed ingame or in console. When typed in console it gives this error

06:19:39 [WARNING] Unexpected exception while parsing console command
org.bukkit.command.CommandException: Unhandled exception executing command 'mmoedit' in plugin mcMMO v2.0-dev-b91
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:168)
at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:386)
at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:382)
at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:574)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:551)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.command.ColouredConsoleSender cannot be cast to org.bukkit.entity.
Player
at com.gmail.nossr50.commands.general.MmoeditCommand.onCommand(MmoeditCommand.java:27)
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
... 7 more

Using mcMMO 2.0-dev-b91
cb 1846 1.1-R3