Core/GameObject: Properly dismount players on GameObject Use
Port From (https://github.com/TrinityCore/TrinityCore/commit/dc5cab3bf4a26b4201b6ea5a85a61a64fec80b19)
This commit is contained in:
@@ -1437,7 +1437,7 @@ namespace Game.Entities
|
||||
if (playerUser != null)
|
||||
{
|
||||
if (!m_goInfo.IsUsableMounted())
|
||||
playerUser.Dismount();
|
||||
playerUser.RemoveAurasByType(AuraType.Mounted);
|
||||
|
||||
playerUser.PlayerTalkClass.ClearMenus();
|
||||
if (GetAI().GossipHello(playerUser))
|
||||
|
||||
Reference in New Issue
Block a user