Wimberton / OriginPalia

A multi-purpose tool for Palia, written in C++. For non-commercial usage, looking for contributors. Features such as ESP, Teleportation, Auto-fishing, and more.
https://www.unknowncheats.me/forum/palia/636934-originpalia-feature-packed-multitool-imagine.html
29 stars 10 forks source link

Crash Fix: change 'IsActorValid(Actor)' to 'IsActorValid(ForageableLoot)' #62

Closed Rambolo closed 3 weeks ago

Rambolo commented 3 weeks ago

https://github.com/Wimberton/OriginPalia/blob/c58429894e93fe0561c8ace48ba285e15c3d980e/OHook/DetourManager.cpp#L491

if (auto ForageableLoot = static_cast<ABP_ValeriaGatherable_C*>(Actor); IsActorValid(ForageableLoot))

Wimberton commented 3 weeks ago

Jeez, this is on me! Thanks for pointing out my mistake!

Time to make sure I'm a BIT more careful and SLEEP more 💤