if(errorCheck())
return true;
//Disable first, then reload, then re-enable.
ShopHandler sh = scs.getShopHandler();
StorageHandler storage = scs.getStorageHandler();
try {
Messaging.send(cs, Term.MESSAGE_RELOADING.get("config"));
scs.reloadConfig();
scs.loadSCSConfig(scs.getConfig());
Messaging.send(cs, Term.MESSAGE_RELOADING.get("SCS"));
ShowCaseStandalone.slog(Level.INFO, "Reloading SCS (command from " + cs.getName());
ShowCaseStandalone.slog(Level.INFO, "Stopping shop update task.");
sh.stop();
ShowCaseStandalone.slog(Level.INFO, "Removing display items.");
sh.hideAll();
ShowCaseStandalone.slog(Level.INFO, "Writing changes to disk");
storage.save(sh);
ShowCaseStandalone.slog(Level.INFO, "Reloading shops from storage.");
storage.load(sh);
ShowCaseStandalone.slog(Level.INFO, "Starting shop update task.");
sh.start();
ShowCaseStandalone.slog(Level.INFO, "Showing display items in loaded chunks.");