reload and save commands now don't require it to be a player executing them
This commit is contained in:
1 parent
3b5471d465
commit
d0a405ff95
2 files changed
+4
No files matched your search
@@ -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";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user