fix 5.0-6.02

This commit is contained in:
Milxnor
2023-04-08 09:23:23 -04:00
parent 5f5d7fb649
commit b194527e1b
3 changed files with 7 additions and 2 deletions

View File

@@ -168,5 +168,5 @@ FORCEINLINE UObject* GetObjectByIndex(int32 Index)
FORCEINLINE FUObjectItem* GetItemByIndex(int32 Index)
{
return ChunkedObjects ? ChunkedObjects->GetItemByIndex(Index) : UnchunkedObjects->GetItemByIndex(Index);
return ChunkedObjects ? ChunkedObjects->GetItemByIndex(Index) : UnchunkedObjects ? UnchunkedObjects->GetItemByIndex(Index) : nullptr;
}