newCmd.setDescription(description.toString());
@Override public MCCommand setDescription(String desc) { cmd.setDescription(desc); return this; }
String description = getConfig().getString("core.commands." + cmd + ".description"); if (!description.isEmpty()) { Command command = getCommand(cmd); // Or whatever type it is command.setDescription(description); } else { getLogger().warning("NO description assigned to: " + cmd); }
super.setDescription(description); return this;
newCmd.setDescription(description.toString());