mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 18:15:31 +01:00
Core/Vehicles: Mammoth mount vendors no longer jump off the mount when talked to.
--HG-- branch : trunk
This commit is contained in:
@@ -729,7 +729,8 @@ void WorldSession::SendListInventory(uint64 vendorguid)
|
||||
GetPlayer()->RemoveAurasByType(SPELL_AURA_FEIGN_DEATH);
|
||||
|
||||
// Stop the npc if moving
|
||||
pCreature->StopMoving();
|
||||
if (pCreature->hasUnitState(UNIT_STAT_MOVING))
|
||||
pCreature->StopMoving();
|
||||
|
||||
VendorItemData const* vItems = pCreature->GetVendorItems();
|
||||
if (!vItems)
|
||||
|
||||
Reference in New Issue
Block a user