mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 02:42:22 +01:00
legacy
fixed pickaxes with mcp, 1.11 fixed
This commit is contained in:
@@ -21,7 +21,11 @@ public:
|
||||
|
||||
bool ShouldPersistWhenFinalStackEmpty()
|
||||
{
|
||||
static auto bPersistInInventoryWhenFinalStackEmptyOffset = GetOffset("bPersistInInventoryWhenFinalStackEmpty");
|
||||
static auto bPersistInInventoryWhenFinalStackEmptyOffset = GetOffset("bPersistInInventoryWhenFinalStackEmpty", false);
|
||||
|
||||
if (bPersistInInventoryWhenFinalStackEmptyOffset == -1)
|
||||
return false;
|
||||
|
||||
static auto bPersistInInventoryWhenFinalStackEmptyFieldMask = GetFieldMask(GetProperty("bPersistInInventoryWhenFinalStackEmpty"));
|
||||
return ReadBitfieldValue(bPersistInInventoryWhenFinalStackEmptyOffset, bPersistInInventoryWhenFinalStackEmptyFieldMask);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user