From c1598d1ac3c9b30feb7eab546240a14b092bd745 Mon Sep 17 00:00:00 2001 From: Ovahlord Date: Tue, 10 Jan 2023 15:46:51 +0100 Subject: [PATCH] Core/Creatures: improved error logging messages added in 6f835c233f7605d74926a2a3058634c9de478617 for creature_template_addon to avoid confusion (cherry picked from commit 128339730cafefba04ca8b1b6c72ed4ea9315bd3) --- src/server/game/Globals/ObjectMgr.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/server/game/Globals/ObjectMgr.cpp b/src/server/game/Globals/ObjectMgr.cpp index bf6bb94889b..f5d5df6d2d9 100644 --- a/src/server/game/Globals/ObjectMgr.cpp +++ b/src/server/game/Globals/ObjectMgr.cpp @@ -793,19 +793,19 @@ void ObjectMgr::LoadCreatureTemplateAddons() if (creatureAddon.standState >= MAX_UNIT_STAND_STATE) { - TC_LOG_ERROR("sql.sql", "Creature (Entry: {}) has invalid unit stand state ({}) defined in `creature_addon`. Truncated to 0.", entry, creatureAddon.standState); + TC_LOG_ERROR("sql.sql", "Creature (Entry: {}) has invalid unit stand state ({}) defined in `creature_template_addon`. Truncated to 0.", entry, creatureAddon.standState); creatureAddon.standState = 0; } if (AnimTier(creatureAddon.animTier) >= AnimTier::Max) { - TC_LOG_ERROR("sql.sql", "Creature (Entry: {}) has invalid animation tier ({}) defined in `creature_addon`. Truncated to 0.", entry, creatureAddon.animTier); + TC_LOG_ERROR("sql.sql", "Creature (Entry: {}) has invalid animation tier ({}) defined in `creature_template_addon`. Truncated to 0.", entry, creatureAddon.animTier); creatureAddon.animTier = 0; } if (creatureAddon.sheathState >= MAX_SHEATH_STATE) { - TC_LOG_ERROR("sql.sql", "Creature (Entry: {}) has invalid sheath state ({}) defined in `creature_addon`. Truncated to 0.", entry, creatureAddon.sheathState); + TC_LOG_ERROR("sql.sql", "Creature (Entry: {}) has invalid sheath state ({}) defined in `creature_template_addon`. Truncated to 0.", entry, creatureAddon.sheathState); creatureAddon.sheathState = 0; }