Revert "Handle generalSettings saving"

This reverts commit 1d721f7867.
This commit is contained in:
Matt
2019-11-28 09:13:16 -08:00
committed by ori agranat
parent 1d721f7867
commit 2b85d3b120

View File

@@ -135,15 +135,6 @@ public class SocketHandler {
sendFullSettings();
break;
}
case "generalSettings": {
var array = (HashMap<String, Object>) entry.getValue();
array.forEach((key, value) -> {
setField(ConfigManager.settings, key, value);
});
sendFullSettings();
ConfigManager.saveGeneralSettings();
break;
}
default: {
// TODO fix this hack
String key;