reload and save commands now don't require it to be a player executing them
This commit is contained in:
parent
3b5471d465
commit
d0a405ff95
@ -12,6 +12,8 @@ public class FCommandReload extends FBaseCommand {
|
|||||||
public FCommandReload() {
|
public FCommandReload() {
|
||||||
aliases.add("reload");
|
aliases.add("reload");
|
||||||
|
|
||||||
|
senderMustBePlayer = false;
|
||||||
|
|
||||||
optionalParameters.add("file");
|
optionalParameters.add("file");
|
||||||
|
|
||||||
helpDescription = "reloads all json files, or a specific one";
|
helpDescription = "reloads all json files, or a specific one";
|
||||||
|
@ -9,6 +9,8 @@ public class FCommandSaveAll extends FBaseCommand {
|
|||||||
aliases.add("saveall");
|
aliases.add("saveall");
|
||||||
aliases.add("save");
|
aliases.add("save");
|
||||||
|
|
||||||
|
senderMustBePlayer = false;
|
||||||
|
|
||||||
helpDescription = "save factions to disk";
|
helpDescription = "save factions to disk";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user