CommandHandler.sendMessage(null,"Player not found.");return;
}
targetPlayer.dropMessage(message);
CommandHandler.sendMessage(null,"Message sent.");
}catch(NumberFormatExceptionignored){
CommandHandler.sendMessage(null,"Invalid player ID.");
}
}
}
@Command(label="restart",usage="Usage: restart",description="Restarts the current session",execution=Command.Execution.PLAYER,permission="player.restart")