Rename the JailClear to JailClearForce

This commit is contained in:
graywolf336 2014-01-22 17:55:47 -06:00
parent d6ad4df991
commit 13363f6d9a
2 changed files with 6 additions and 6 deletions

View File

@ -13,7 +13,7 @@ import com.graywolf336.jail.JailManager;
import com.graywolf336.jail.command.commands.CellCreateCommand; import com.graywolf336.jail.command.commands.CellCreateCommand;
import com.graywolf336.jail.command.commands.HandCuffCommand; import com.graywolf336.jail.command.commands.HandCuffCommand;
import com.graywolf336.jail.command.commands.JailCheckCommand; 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.JailCommand;
import com.graywolf336.jail.command.commands.JailCreateCommand; import com.graywolf336.jail.command.commands.JailCreateCommand;
import com.graywolf336.jail.command.commands.JailListCellsCommand; import com.graywolf336.jail.command.commands.JailListCellsCommand;
@ -149,7 +149,7 @@ public class CommandHandler {
load(CellCreateCommand.class); load(CellCreateCommand.class);
load(HandCuffCommand.class); load(HandCuffCommand.class);
load(JailCheckCommand.class); load(JailCheckCommand.class);
load(JailClearCommand.class); load(JailClearForceCommand.class);
load(JailCommand.class); load(JailCommand.class);
load(JailCreateCommand.class); load(JailCreateCommand.class);
load(JailListCellsCommand.class); load(JailListCellsCommand.class);

View File

@ -12,11 +12,11 @@ import com.graywolf336.jail.enums.LangString;
maxArgs = 1, maxArgs = 1,
minimumArgs = 0, minimumArgs = 0,
needsPlayer = false, needsPlayer = false,
pattern = "jailclear|jclear", pattern = "jailclearforce|jcf",
permission = "jail.command.jailclear", permission = "jail.command.jailclearforce",
usage = "/jailclear (Jail name)" 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 // 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) { public boolean execute(JailManager jm, CommandSender sender, String... args) {