mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 16:38:42 +01:00
Core/Vehicles: Also remove mount auras for passengers not in charm seat
May fix related crashes: Ref #9256 #9255
This commit is contained in:
@@ -741,6 +741,7 @@ bool VehicleJoinEvent::Execute(uint64, uint32)
|
||||
}
|
||||
|
||||
Passenger->InterruptNonMeleeSpells(false);
|
||||
Passenger->RemoveAurasByType(SPELL_AURA_MOUNTED);
|
||||
|
||||
Player* player = Passenger->ToPlayer();
|
||||
if (player)
|
||||
|
||||
Reference in New Issue
Block a user