mirror of
https://github.com/MassiveCraft/Factions.git
synced 2024-12-28 11:37:45 +01:00
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() {
|
||||
aliases.add("reload");
|
||||
|
||||
senderMustBePlayer = false;
|
||||
|
||||
optionalParameters.add("file");
|
||||
|
||||
helpDescription = "reloads all json files, or a specific one";
|
||||
|
@ -9,6 +9,8 @@ public class FCommandSaveAll extends FBaseCommand {
|
||||
aliases.add("saveall");
|
||||
aliases.add("save");
|
||||
|
||||
senderMustBePlayer = false;
|
||||
|
||||
helpDescription = "save factions to disk";
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user