someone fix 12.00 floor loot spawn please

This commit is contained in:
Milxnor
2023-06-11 00:07:04 -04:00
parent d427e60df3
commit 8bdd33d936
17 changed files with 95 additions and 134 deletions

View File

@@ -23,14 +23,7 @@ struct FGameplayAttribute
if (!Attribute)
return "INVALIDATTRIBUTE";
FName* NamePrivate = nullptr;
if (Engine_Version >= 425)
NamePrivate = (FName*)(__int64(Attribute) + 0x28);
else
NamePrivate = &((UField*)Attribute)->NamePrivate;
return NamePrivate->ToString();
return GetFNameOfProp(Attribute)->ToString();
}
};