private void performMatchAction(ArenaPlayer player) { BAExecutor executor = BattleArena.getBAExecutor(); String args[]; switch (command) { case JOIN: args = new String[] {"join", options1}; executor.join(player, mp, args, true); break; case LEAVE: args = new String[] {"leave", options1, options2}; executor.leave(player, mp, true); break; case START: break; } }