mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-02 08:50:17 +01:00
Notify player when using an invalid purge argument
This commit is contained in:
parent
cc1324f581
commit
f49d43d6a3
@ -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 New Issue
Block a user