mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-10-16 04:18:08 +00:00
remove unneeded tests
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user