Some fixes to follow recent updates
This commit is contained in:
parent
3369b00a79
commit
432dfd05f9
File diff suppressed because it is too large
Load Diff
@ -32,7 +32,7 @@ uint64 ItemSynthesisDatabase::parseBodyNode(const YAML::Node &node) {
|
||||
if (!this->asString(node, "Item", synthesis_item_name))
|
||||
return 0;
|
||||
|
||||
item_data *item = itemdb_search_aegisname(synthesis_item_name.c_str());
|
||||
std::shared_ptr<item_data> item = item_db.search_aegisname(synthesis_item_name.c_str());
|
||||
|
||||
if (item == nullptr) {
|
||||
this->invalidWarning(node["Item"], "Item name for Synthesis Box %s does not exist.\n", synthesis_item_name.c_str());
|
||||
@ -83,7 +83,7 @@ uint64 ItemSynthesisDatabase::parseBodyNode(const YAML::Node &node) {
|
||||
if (!this->asString(source, "Item", source_item_name))
|
||||
continue;
|
||||
|
||||
item_data *source_it = itemdb_search_aegisname(source_item_name.c_str());
|
||||
std::shared_ptr<item_data> source_it = item_db.search_aegisname(source_item_name.c_str());
|
||||
|
||||
if (source_it == nullptr) {
|
||||
this->invalidWarning(node["SourceItem"], "Source item name %s does not exist, skipping.\n", source_item_name.c_str());
|
||||
|
@ -32,7 +32,7 @@ uint64 ItemUpgradeDatabase::parseBodyNode(const YAML::Node &node) {
|
||||
if (!this->asString(node, "Item", upgrade_item_name))
|
||||
return 0;
|
||||
|
||||
item_data *item = itemdb_search_aegisname(upgrade_item_name.c_str());
|
||||
std::shared_ptr<item_data> item = item_db.search_aegisname(upgrade_item_name.c_str());
|
||||
|
||||
if (item == nullptr) {
|
||||
this->invalidWarning(node["Item"], "Item name for Upgrade Box %s does not exist.\n", upgrade_item_name.c_str());
|
||||
@ -82,7 +82,7 @@ uint64 ItemUpgradeDatabase::parseBodyNode(const YAML::Node &node) {
|
||||
if (!this->asString(target, "Item", target_item_name))
|
||||
continue;
|
||||
|
||||
item_data *target_item = itemdb_search_aegisname(target_item_name.c_str());
|
||||
std::shared_ptr<item_data> target_item = item_db.search_aegisname(target_item_name.c_str());
|
||||
|
||||
if (target_item == nullptr) {
|
||||
this->invalidWarning(node["TargetItem"], "Target item name %s does not exist, skipping.\n", target_item_name.c_str());
|
||||
|
Loading…
x
Reference in New Issue
Block a user