mirror of
https://github.com/quizhizhe/LiteLoaderBDS-1.16.40.git
synced 2025-05-31 03:03:41 +00:00
Fix ItemActor::getItemStack()
crash
This commit is contained in:
parent
acc469d6b2
commit
00db9f6602
@ -3,7 +3,7 @@
|
||||
#include <llapi/HookAPI.h>
|
||||
|
||||
ItemStack* ItemActor::getItemStack() {
|
||||
return dAccess<ItemStack*>(this, ll::offset::ITEMACTORAPI_getItemStack); // IDA Player::take Line127
|
||||
return &dAccess<ItemStack>(this, ll::offset::ITEMACTORAPI_getItemStack); // IDA Player::take Line127
|
||||
}
|
||||
|
||||
int ItemActor::getDespawnTime() {
|
||||
|
Loading…
Reference in New Issue
Block a user