It is jail createcells not jail cellcreate

This commit is contained in:
graywolf336 2014-07-15 20:19:35 -05:00
parent fec2fddb26
commit 1181f33693
2 changed files with 5 additions and 5 deletions

View File

@ -10,7 +10,7 @@ import org.bukkit.entity.Player;
import com.graywolf336.jail.JailMain;
import com.graywolf336.jail.JailManager;
import com.graywolf336.jail.command.subcommands.JailCellCreateCommand;
import com.graywolf336.jail.command.subcommands.JailCreateCellCommand;
import com.graywolf336.jail.command.subcommands.JailCheckCommand;
import com.graywolf336.jail.command.subcommands.JailClearCommand;
import com.graywolf336.jail.command.subcommands.JailClearForceCommand;
@ -174,7 +174,7 @@ public class JailHandler {
}
private void loadCommands() {
load(JailCellCreateCommand.class);
load(JailCreateCellCommand.class);
load(JailCheckCommand.class);
load(JailClearCommand.class);
load(JailClearForceCommand.class);

View File

@ -13,11 +13,11 @@ import com.graywolf336.jail.command.CommandInfo;
maxArgs = 2,
minimumArgs = 1,
needsPlayer = true,
pattern = "createcell|cc",
pattern = "createcell|createcells|cellcreate|cellscreate|cc",
permission = "jail.command.jailcreatecells",
usage = "/jail cellcreate [jail] (cellname)"
usage = "/jail createcell [jail] (cellname)"
)
public class JailCellCreateCommand implements Command {
public class JailCreateCellCommand implements Command {
public boolean execute(JailManager jm, CommandSender sender, String... args) {
Player player = (Player) sender;