This commit is contained in:
Jesse Boyd 2016-02-29 15:12:05 +11:00
parent 8906577699
commit 43b7a7aba8
2 changed files with 0 additions and 7 deletions

View File

@ -299,9 +299,6 @@ public class MainCommand extends CommandManager<PlotPlayer> {
displayHelp(player, category, help_index, cmd);
return true;
}
if (args[0].contains(":")) {
args[0] = args[0].replaceFirst(":", " ");
}
String fullCmd = StringMan.join(args, " ");
getInstance().handle(player, cmd + " " + fullCmd);
// Restore location
@ -453,10 +450,6 @@ public class MainCommand extends CommandManager<PlotPlayer> {
final boolean result = cmd.onCommand(plr, args);
if (!result) {
cmd.getUsage();
// Unecessary!
// if (usage != null && !usage.isEmpty()) {
// MainUtil.sendMessage(plr, usage);
// }
return CommandHandlingOutput.WRONG_USAGE;
}
} catch (final Throwable t) {

Binary file not shown.