public Boolean run(CommandSender sender, String[] args) { if (EditWizard.players.containsKey(((Player) sender).getName())) { EditWizard.players.remove(((Player) sender).getName()); Util.Message(Settings.getString(Setting.MESSAGE_EDITING_MODE_EXIT), sender); } else Util.Message(Settings.getString(Setting.MESSAGE_NOT_IN_EDIT_MODE), sender); return true; }
public Boolean run(CommandSender sender, String[] args) { IO.LoadSettings(); Util.Message("&aConfig reloaded successfully!", sender); return true; }