File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -687,7 +687,7 @@ LL_TYPE_INSTANCE_HOOK(
687
687
CallEventRtnValue (EVENT_TYPES::onOpenContainerScreen, false , PlayerClass::newPlayer (this ));
688
688
}
689
689
IF_LISTENED_END (EVENT_TYPES::onOpenContainerScreen);
690
- return origin ();
690
+ return origin ();
691
691
}
692
692
693
693
LL_TYPE_INSTANCE_HOOK (
@@ -706,15 +706,15 @@ LL_TYPE_INSTANCE_HOOK(
706
706
EVENT_TYPES::onCmdBlockExecute,
707
707
false ,
708
708
String::newString (this ->getCommand ()),
709
- FloatPos::newPos (commandOrigin.getEntity ()->getPosition (), commandOrigin. getEntity ()-> getDimensionId ()),
709
+ FloatPos::newPos (commandOrigin.getEntity ()->getPosition (), region. getDimensionId ()),
710
710
Boolean::newBoolean (true )
711
711
);
712
712
} else {
713
713
CallEventRtnValue (
714
714
EVENT_TYPES::onCmdBlockExecute,
715
715
false ,
716
716
String::newString (this ->getCommand ()),
717
- FloatPos::newPos (commandOrigin.getEntity ()-> getPosition (), commandOrigin. getEntity ()-> getDimensionId ()),
717
+ FloatPos::newPos (commandOrigin.getBlockPosition (), region. getDimensionId ()),
718
718
Boolean::newBoolean (false )
719
719
);
720
720
}
You can’t perform that action at this time.
0 commit comments