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.command.CommandSender;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
import rip.tilly.bedwars.BedWars;
|
import rip.tilly.bedwars.BedWars;
|
||||||
import rip.tilly.bedwars.menus.arena.ArenaManagerMenu;
|
|
||||||
import rip.tilly.bedwars.utils.CC;
|
import rip.tilly.bedwars.utils.CC;
|
||||||
|
|
||||||
public class ArenaCommand implements CommandExecutor {
|
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) {
|
public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) {
|
||||||
Player player = (Player) sender;
|
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 deadzone <arena>"));
|
||||||
player.sendMessage(CC.translate(" &c/arena buildmax <arena>"));
|
player.sendMessage(CC.translate(" &c/arena buildmax <arena>"));
|
||||||
} else {
|
} else {
|
||||||
switch (args[0].toLowerCase()) {
|
switch (args[0]) {
|
||||||
case "manage":
|
|
||||||
new ArenaManagerMenu().openMenu(player);
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -9,4 +9,5 @@ commands:
|
|||||||
setspawn:
|
setspawn:
|
||||||
level:
|
level:
|
||||||
xp:
|
xp:
|
||||||
party:
|
party:
|
||||||
|
arena:
|
Loading…
Reference in New Issue
Block a user