mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-19 02:23:01 +08:00
Merge. Squash feature/drops
This commit is contained in:
@@ -9,8 +9,9 @@ bool asst::ItemConfiger::parse(const json::value& json)
|
||||
LogTraceFunction;
|
||||
|
||||
for (const auto& [id, item_json] : json.as_object()) {
|
||||
std::string name = item_json.at("name_i18n").at("zh").as_string();
|
||||
std::string name = item_json.at("name").as_string();
|
||||
m_item_name.emplace(id, std::move(name));
|
||||
m_all_item_id.emplace(id);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user