mirror of
https://e.coding.net/circlecloud/Residence.git
synced 2025-11-24 21:46:16 +00:00
fix: 修复PSET和SET命令参数拦截错误
This commit is contained in:
@@ -20,7 +20,7 @@ public class CommandPset extends BaseCommand {
|
||||
public CommandPset(final ResidenceMain plugin) {
|
||||
super("ps");
|
||||
this.plugin = plugin;
|
||||
setMinimumArguments(2);
|
||||
setMinimumArguments(1);
|
||||
setOnlyPlayerExecutable();
|
||||
setPossibleArguments("<residence> [player] [flag|removeall] [true/false/remove]");
|
||||
}
|
||||
|
||||
@@ -20,7 +20,7 @@ public class CommandSet extends BaseCommand {
|
||||
public CommandSet(final ResidenceMain plugin) {
|
||||
super("set");
|
||||
this.plugin = plugin;
|
||||
setMinimumArguments(2);
|
||||
setMinimumArguments(0);
|
||||
setOnlyPlayerExecutable();
|
||||
setPossibleArguments("<residence> [flag] [true/false/remove]");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user