fix: Fixes NPE in champ titles (#1434)
This commit is contained in:
parent
51ecee6caa
commit
6547239fa6
4 changed files with 6 additions and 9 deletions
|
|
@ -352,7 +352,7 @@ public partial class ChampionTitleContext
|
|||
for (var i = 0; i < ChampionSpawnInfo.Table.Length; i++)
|
||||
{
|
||||
ref var title = ref GetTitleValueRef(ChampionSpawnInfo.Table[i].Type);
|
||||
if (Unsafe.IsNullRef(ref title))
|
||||
if (Unsafe.IsNullRef(ref title) || title == null)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue