It is jail createcells not jail cellcreate
This commit is contained in:
parent
fec2fddb26
commit
1181f33693
@ -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);
|
||||
|
@ -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;
|
Loading…
Reference in New Issue
Block a user