leah small fix

This commit is contained in:
Lucca Faria Ferri 2023-08-11 09:11:59 -07:00
parent 9380429c74
commit 4f207b2c7d

View File

@ -519,19 +519,15 @@ namespace DiIiS_NA.GameServer.GSSystem.QuestSystem
//StartConversation(this.Game.GetWorld(71150), 72496); //StartConversation(this.Game.GetWorld(71150), 72496);
DestroyFollower(ActorSno._leah); DestroyFollower(ActorSno._leah);
var leah = tristramWorld.GetActorBySNO(ActorSno._leah, true); var leah = tristramWorld.GetActorsBySNO(ActorSno._leah);
if (leah == null) if (!leah.Any())
{ {
leah = tristramWorld.GetActorBySNO(ActorSno._leah, false); Logger.Warn("Leah not found in world.");
if (leah != null) }
{ foreach (var l in leah)
leah.Hidden = false; {
leah.SetVisible(true); l.Hidden = false;
} l.SetVisible(true);
else
{
Logger.Warn($"Leah not found in world {tristramWorld.SNO.ToString()} - quest 72095/step 32");
}
} }
ListenConversation(198617, new Advance()); ListenConversation(198617, new Advance());
} }