Fix few crashes while loading server.

This commit is contained in:
hondacrx
2021-02-04 20:24:46 -05:00
parent 4fae9757ea
commit eb8b62276e
4 changed files with 4 additions and 4 deletions
@@ -308,7 +308,7 @@ namespace Game.DataStorage
AreaTriggerSpawn spawn = new AreaTriggerSpawn();
spawn.SpawnId = spawnId;
spawn.Id = areaTriggerId;
spawn.Location.WorldRelocate(location);
spawn.Location = new WorldLocation(location);
spawn.PhaseUseFlags = templates.Read<byte>(8);
spawn.PhaseId = templates.Read<uint>(9);