File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -174,7 +174,7 @@ LL_TYPE_INSTANCE_HOOK(
174174 EVENT_TYPES::onCloseContainer,
175175 PlayerClass::newPlayer (&const_cast <Player&>(player)),
176176 BlockClass::newBlock (
177- (( BlockActor*)(( char *) this - 240 ))-> getPosition (),
177+ ll::memory::dAccess< BlockActor>( this , - 240 ). getPosition (),
178178 player.getDimensionId ()
179179 ) // IDA ChestBlockActor::stopOpen
180180 );
@@ -196,7 +196,7 @@ LL_TYPE_INSTANCE_HOOK(
196196 EVENT_TYPES::onCloseContainer,
197197 PlayerClass::newPlayer (&const_cast <Player&>(player)),
198198 BlockClass::newBlock (
199- (( BlockActor*)(( char *) this - 240 ))-> getPosition (),
199+ ll::memory::dAccess< BlockActor>( this , - 240 ). getPosition (),
200200 player.getDimensionId ()
201201 ) // IDA ChestBlockActor::stopOpen
202202 );
You can’t perform that action at this time.
0 commit comments