mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-01-11 01:17:12 +00:00
Notify player when using an invalid purge argument
This commit is contained in:
parent
cc1324f581
commit
f49d43d6a3
1 changed files with 3 additions and 0 deletions
|
@ -88,6 +88,9 @@ public class Purge extends SubCommand {
|
|||
case "u":
|
||||
unknown = Boolean.parseBoolean(split[1]);
|
||||
break;
|
||||
default:
|
||||
C.COMMAND_SYNTAX.send(player, getUsage());
|
||||
return false;
|
||||
}
|
||||
}
|
||||
final HashSet<Plot> toDelete = new HashSet<>();
|
||||
|
|
Loading…
Reference in a new issue