mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-29 16:46:45 +01:00
.
This commit is contained in:
parent
5a98c5410e
commit
870495ac1a
@ -258,7 +258,7 @@ public class MainCommand extends CommandManager<PlotPlayer> {
|
|||||||
MainUtil.sendMessage(plr, C.NOT_VALID_SUBCOMMAND);
|
MainUtil.sendMessage(plr, C.NOT_VALID_SUBCOMMAND);
|
||||||
{
|
{
|
||||||
ArrayList<Command<PlotPlayer>> cmds = getCommands();
|
ArrayList<Command<PlotPlayer>> cmds = getCommands();
|
||||||
cmd = new StringComparison<Command<PlotPlayer>>(args[0], cmds).getMatchObject();
|
cmd = new StringComparison<Command<PlotPlayer>>(label, cmds).getMatchObject();
|
||||||
MainUtil.sendMessage(plr, C.DID_YOU_MEAN, cmd.getUsage());
|
MainUtil.sendMessage(plr, C.DID_YOU_MEAN, cmd.getUsage());
|
||||||
}
|
}
|
||||||
return CommandHandlingOutput.NOT_FOUND;
|
return CommandHandlingOutput.NOT_FOUND;
|
||||||
|
Loading…
Reference in New Issue
Block a user