Core/Vehicles: Fix accessories disappearing on reset

Port From (https://github.com/TrinityCore/TrinityCore/commit/a855e6221d517297cfb9e2e78b57a6a57fccc85a)
This commit is contained in:
hondacrx
2021-12-07 14:19:43 -05:00
parent 754ac90d50
commit 4fb48f1522
2 changed files with 2 additions and 3 deletions
@@ -75,6 +75,8 @@ namespace Game.AI
owner.SetWalk(true);
owner.SetSpawnHealth();
owner.LoadCreaturesAddon();
if (owner.IsVehicle())
owner.GetVehicleKit().Reset(true);
owner.GetAI().JustReachedHome();
}
}