Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit 32510832 authored by g4m4's avatar g4m4
Browse files

[CORE] Fix potential null dereferencing

parent fbc570de
No related branches found
No related tags found
No related merge requests found
......@@ -53,7 +53,9 @@ namespace {
{
fixit::PlayerData Out = fixit::PlayerData(FFixItTranslationLayer::ToStd(PlayerData->PrefilledStr));
for (const auto* Item : PlayerData->Items) {
Out.Items.emplace_back(UFixItPlayerDataItemConvertTo(Item));
if (Item != nullptr) {
Out.Items.emplace_back(UFixItPlayerDataItemConvertTo(Item));
}
}
return Out;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment