aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOvahlord <dreadkiller@gmx.de>2023-01-10 15:46:51 +0100
committerGitHub <noreply@github.com>2023-01-10 15:46:51 +0100
commit128339730cafefba04ca8b1b6c72ed4ea9315bd3 (patch)
tree4956edec71041fb1f30e1a58f52441421ff85233
parent6f835c233f7605d74926a2a3058634c9de478617 (diff)
Core/Creatures: improved error logging messages added in 6f835c233f7605d74926a2a3058634c9de478617 for creature_template_addon to avoid confusion
-rw-r--r--src/server/game/Globals/ObjectMgr.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/game/Globals/ObjectMgr.cpp b/src/server/game/Globals/ObjectMgr.cpp
index eddedb75126..fc867d69235 100644
--- a/src/server/game/Globals/ObjectMgr.cpp
+++ b/src/server/game/Globals/ObjectMgr.cpp
@@ -787,19 +787,19 @@ void ObjectMgr::LoadCreatureTemplateAddons()
if (creatureAddon.standState >= MAX_UNIT_STAND_STATE)
{
- TC_LOG_ERROR("sql.sql", "Creature (Entry: %u) has invalid unit stand state (%u) defined in `creature_addon`. Truncated to 0.", entry, creatureAddon.standState);
+ TC_LOG_ERROR("sql.sql", "Creature (Entry: %u) has invalid unit stand state (%u) 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: %u) has invalid animation tier (%u) defined in `creature_addon`. Truncated to 0.", entry, creatureAddon.animTier);
+ TC_LOG_ERROR("sql.sql", "Creature (Entry: %u) has invalid animation tier (%u) 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: %u) has invalid sheath state (%u) defined in `creature_addon`. Truncated to 0.", entry, creatureAddon.sheathState);
+ TC_LOG_ERROR("sql.sql", "Creature (Entry: %u) has invalid sheath state (%u) defined in `creature_template_addon`. Truncated to 0.", entry, creatureAddon.sheathState);
creatureAddon.sheathState = 0;
}