mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-26 07:06:44 +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":
|
case "u":
|
||||||
unknown = Boolean.parseBoolean(split[1]);
|
unknown = Boolean.parseBoolean(split[1]);
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
C.COMMAND_SYNTAX.send(player, getUsage());
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
final HashSet<Plot> toDelete = new HashSet<>();
|
final HashSet<Plot> toDelete = new HashSet<>();
|
||||||
|
Loading…
Reference in New Issue
Block a user