Fixes mob and item atcommand sorting issues (#7058)
* Fixes #7055. * Fixes several atcommands used for mob and item information were not properly accounting for order. * Resolves an issue where YAML databases were not properly utilizing the cache feature. * Increased MAX_SEARCH to 10 by default as in renewal there are many more items with duplicated names. Thanks to @Playtester! Co-authored-by: Playtester <Kenji.Ito@gmx.de>
This commit is contained in:
@@ -357,6 +357,8 @@ void PenaltyDatabase::loadingFinished(){
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
TypesafeYamlDatabase::loadingFinished();
|
||||
}
|
||||
|
||||
PenaltyDatabase penalty_db;
|
||||
@@ -12990,6 +12992,8 @@ void SkillTreeDatabase::loadingFinished() {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
TypesafeYamlDatabase::loadingFinished();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -13546,6 +13550,8 @@ void JobDatabase::loadingFinished() {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
TypesafeCachedYamlDatabase::loadingFinished();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -13708,6 +13714,8 @@ void PlayerStatPointDatabase::loadingFinished(){
|
||||
// Store it for next iteration
|
||||
last_level = entry;
|
||||
}
|
||||
|
||||
TypesafeCachedYamlDatabase::loadingFinished();
|
||||
}
|
||||
|
||||
/*==========================================
|
||||
|
||||
Reference in New Issue
Block a user