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) {
|
public CommandPset(final ResidenceMain plugin) {
|
||||||
super("ps");
|
super("ps");
|
||||||
this.plugin = plugin;
|
this.plugin = plugin;
|
||||||
setMinimumArguments(2);
|
setMinimumArguments(1);
|
||||||
setOnlyPlayerExecutable();
|
setOnlyPlayerExecutable();
|
||||||
setPossibleArguments("<residence> [player] [flag|removeall] [true/false/remove]");
|
setPossibleArguments("<residence> [player] [flag|removeall] [true/false/remove]");
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ public class CommandSet extends BaseCommand {
|
|||||||
public CommandSet(final ResidenceMain plugin) {
|
public CommandSet(final ResidenceMain plugin) {
|
||||||
super("set");
|
super("set");
|
||||||
this.plugin = plugin;
|
this.plugin = plugin;
|
||||||
setMinimumArguments(2);
|
setMinimumArguments(0);
|
||||||
setOnlyPlayerExecutable();
|
setOnlyPlayerExecutable();
|
||||||
setPossibleArguments("<residence> [flag] [true/false/remove]");
|
setPossibleArguments("<residence> [flag] [true/false/remove]");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user