reload and save commands now don't require it to be a player executing them
This commit is contained in:
		@@ -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";
 | 
			
		||||
	}
 | 
			
		||||
	
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user