t
This commit is contained in:
parent
d0cddac3b5
commit
e0418654bb
@ -5,12 +5,11 @@ import org.bukkit.command.CommandExecutor;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
||||
import rip.tilly.bedwars.BedWars;
|
||||
import rip.tilly.bedwars.menus.arena.ArenaManagerMenu;
|
||||
import rip.tilly.bedwars.utils.CC;
|
||||
|
||||
public class ArenaCommand implements CommandExecutor {
|
||||
|
||||
private BedWars plugin = BedWars.getInstance();
|
||||
private BedWars main = BedWars.getInstance();
|
||||
|
||||
public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) {
|
||||
Player player = (Player) sender;
|
||||
@ -40,10 +39,8 @@ public class ArenaCommand implements CommandExecutor {
|
||||
player.sendMessage(CC.translate(" &c/arena deadzone <arena>"));
|
||||
player.sendMessage(CC.translate(" &c/arena buildmax <arena>"));
|
||||
} else {
|
||||
switch (args[0].toLowerCase()) {
|
||||
case "manage":
|
||||
new ArenaManagerMenu().openMenu(player);
|
||||
break;
|
||||
switch (args[0]) {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -9,4 +9,5 @@ commands:
|
||||
setspawn:
|
||||
level:
|
||||
xp:
|
||||
party:
|
||||
party:
|
||||
arena:
|
Loading…
Reference in New Issue
Block a user