This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
What steps will reproduce the problem?1. Install InventorySort2. In server console, run sort reload
What is the expected output? What do you see instead?Expected: Config reloadedActual:>sort reload23:28:21 [WARNING] Unexpected exception while parsing console commandorg.bukkit.command.CommandException: Unhandled exception executing command 'sort' in plugin InventorySort v2.0.2 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:344) at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:489) at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:468) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363) at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.command.ColouredConsoleSender cannot be cast to org.bukkit.entity.Player at Wolfwood.InventorySort.CommandHandler.getPermissions(CommandHandler.java:64) at Wolfwood.InventorySort.commands.SortCommand.perform(SortCommand.java:59) at Wolfwood.InventorySort.InventorySort.onCommand(InventorySort.java:108) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35) ... 6 more
What version of the product are you using?2.0.2
Do you have an error log of what happened?See above
Please provide any additional information below.Looks like it's expecting a player to run that command rather than console. Works fine for player to do it.Should either work for console to do it or notify that player should do it rather than explode.
To post a comment, please login or register a new account.