Core/WorldStates: Migrate battleground worldstates to new system

Port From (https://github.com/TrinityCore/TrinityCore/commit/5dbfaecd5c020fd4c3b3dfc235580849c39ce7db)
This commit is contained in:
hondacrx
2022-07-10 14:59:20 -04:00
parent d0cc9645b9
commit ae9308c1cb
17 changed files with 693 additions and 1128 deletions
+1
View File
@@ -87,6 +87,7 @@ namespace Game.Entities
break;
}
Unit unit = passenger.ToUnit();
if (unit != null)
{
Vehicle vehicle = unit.GetVehicleKit();