From e0418654bb20a4bc266e3c6a054032cb2fdeb8a0 Mon Sep 17 00:00:00 2001 From: Trixkz Date: Mon, 22 Nov 2021 07:46:12 -0500 Subject: [PATCH] t --- .../rip/tilly/bedwars/commands/arena/ArenaCommand.java | 9 +++------ src/main/resources/plugin.yml | 3 ++- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/src/main/java/rip/tilly/bedwars/commands/arena/ArenaCommand.java b/src/main/java/rip/tilly/bedwars/commands/arena/ArenaCommand.java index 8346a8e..2269ad8 100644 --- a/src/main/java/rip/tilly/bedwars/commands/arena/ArenaCommand.java +++ b/src/main/java/rip/tilly/bedwars/commands/arena/ArenaCommand.java @@ -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 ")); player.sendMessage(CC.translate(" &c/arena buildmax ")); } else { - switch (args[0].toLowerCase()) { - case "manage": - new ArenaManagerMenu().openMenu(player); - break; + switch (args[0]) { + } } diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index dc8b52b..f303537 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -9,4 +9,5 @@ commands: setspawn: level: xp: - party: \ No newline at end of file + party: + arena: \ No newline at end of file