remove unneeded tests

This commit is contained in:
jadebenn
2024-04-20 00:07:08 -05:00
parent 0b2453241b
commit 6ddf5b3e92
4 changed files with 6 additions and 67 deletions

View File

@@ -54,7 +54,7 @@ void CDPetComponentTable::LoadValuesFromDefaults() {
}
const CDPetComponent& CDPetComponentTable::GetByID(const uint32_t componentID) {
const auto& entries = GetEntriesMutable();
const auto& entries = GetEntries();
const auto itr = entries.find(componentID);
if (itr == entries.cend()) {
LOG("Unable to load pet component (ID %i) values from database! Using default values instead.", componentID);