Fixed two crashes
This commit is contained in:
@@ -2804,7 +2804,7 @@ namespace Game.AI
|
||||
if (baseObject != null)
|
||||
{
|
||||
var stored = GetStoredTargetList(e.Target.stored.id, baseObject);
|
||||
if (!stored.Empty())
|
||||
if (stored != null)
|
||||
targets.AddRange(stored);
|
||||
}
|
||||
|
||||
|
||||
@@ -170,6 +170,6 @@ namespace Game.Entities
|
||||
uint _id;
|
||||
TrainerType _type;
|
||||
List<TrainerSpell> _spells;
|
||||
Array<string> _greeting = new((int)Locale.Total);
|
||||
string[] _greeting = new string[(int)Locale.Total];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user