mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 16:38:42 +01:00
Core/Creatures: Set melee sheath as default only for creatures that do not have creature_addon data
This commit is contained in:
@@ -357,8 +357,9 @@ bool Creature::UpdateEntry(uint32 Entry, uint32 team, const CreatureData* data)
|
||||
|
||||
m_regenHealth = cInfo->RegenHealth;
|
||||
|
||||
// creatures always have melee weapon ready if any
|
||||
SetSheath(SHEATH_STATE_MELEE);
|
||||
// creatures always have melee weapon ready if any unless specified otherwise
|
||||
if (!GetCreatureAddon())
|
||||
SetSheath(SHEATH_STATE_MELEE);
|
||||
|
||||
SelectLevel(GetCreatureTemplate());
|
||||
if (team == HORDE)
|
||||
|
||||
Reference in New Issue
Block a user