Rename the JailClear to JailClearForce
This commit is contained in:
		@@ -13,7 +13,7 @@ import com.graywolf336.jail.JailManager;
 | 
			
		||||
import com.graywolf336.jail.command.commands.CellCreateCommand;
 | 
			
		||||
import com.graywolf336.jail.command.commands.HandCuffCommand;
 | 
			
		||||
import com.graywolf336.jail.command.commands.JailCheckCommand;
 | 
			
		||||
import com.graywolf336.jail.command.commands.JailClearCommand;
 | 
			
		||||
import com.graywolf336.jail.command.commands.JailClearForceCommand;
 | 
			
		||||
import com.graywolf336.jail.command.commands.JailCommand;
 | 
			
		||||
import com.graywolf336.jail.command.commands.JailCreateCommand;
 | 
			
		||||
import com.graywolf336.jail.command.commands.JailListCellsCommand;
 | 
			
		||||
@@ -149,7 +149,7 @@ public class CommandHandler {
 | 
			
		||||
		load(CellCreateCommand.class);
 | 
			
		||||
		load(HandCuffCommand.class);
 | 
			
		||||
		load(JailCheckCommand.class);
 | 
			
		||||
		load(JailClearCommand.class);
 | 
			
		||||
		load(JailClearForceCommand.class);
 | 
			
		||||
		load(JailCommand.class);
 | 
			
		||||
		load(JailCreateCommand.class);
 | 
			
		||||
		load(JailListCellsCommand.class);
 | 
			
		||||
 
 | 
			
		||||
@@ -12,11 +12,11 @@ import com.graywolf336.jail.enums.LangString;
 | 
			
		||||
		maxArgs = 1,
 | 
			
		||||
		minimumArgs = 0,
 | 
			
		||||
		needsPlayer = false,
 | 
			
		||||
		pattern = "jailclear|jclear",
 | 
			
		||||
		permission = "jail.command.jailclear",
 | 
			
		||||
		usage = "/jailclear (Jail name)"
 | 
			
		||||
		pattern = "jailclearforce|jcf",
 | 
			
		||||
		permission = "jail.command.jailclearforce",
 | 
			
		||||
		usage = "/jailclearforce (Jail name)"
 | 
			
		||||
	)
 | 
			
		||||
public class JailClearCommand implements Command {
 | 
			
		||||
public class JailClearForceCommand implements Command {
 | 
			
		||||
	
 | 
			
		||||
	// If Jail is specified clear all prisoners from that Jail (new feature) else, clear all players from all jails
 | 
			
		||||
	public boolean execute(JailManager jm, CommandSender sender, String... args) {
 | 
			
		||||
		Reference in New Issue
	
	Block a user