formatting

This commit is contained in:
Jake Probst
2023-06-11 12:56:40 -06:00
committed by Martin Michelsen
parent 148d327d9f
commit 9f78790e14
2 changed files with 7 additions and 9 deletions
+3 -4
View File
@@ -651,10 +651,9 @@ void ServerState::parse_config(shared_ptr<const JSONObject> config_json) {
}
try {
this->drops_enabled = d.at("EnableDrops")->as_bool();
}
catch (const out_of_range&) {
this->drops_enabled = true;
this->drops_enabled = d.at("EnableDrops")->as_bool();
} catch (const out_of_range&) {
this->drops_enabled = true;
}
try {