diff --git a/src/main/java/com/graywolf336/jail/command/CommandHandler.java b/src/main/java/com/graywolf336/jail/command/CommandHandler.java index 456bc82..903f52d 100644 --- a/src/main/java/com/graywolf336/jail/command/CommandHandler.java +++ b/src/main/java/com/graywolf336/jail/command/CommandHandler.java @@ -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); diff --git a/src/main/java/com/graywolf336/jail/command/commands/JailClearCommand.java b/src/main/java/com/graywolf336/jail/command/commands/JailClearForceCommand.java similarity index 88% rename from src/main/java/com/graywolf336/jail/command/commands/JailClearCommand.java rename to src/main/java/com/graywolf336/jail/command/commands/JailClearForceCommand.java index 087771c..01b0ea1 100644 --- a/src/main/java/com/graywolf336/jail/command/commands/JailClearCommand.java +++ b/src/main/java/com/graywolf336/jail/command/commands/JailClearForceCommand.java @@ -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) {