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(
687687 CallEventRtnValue (EVENT_TYPES::onOpenContainerScreen, false , PlayerClass::newPlayer (this ));
688688 }
689689 IF_LISTENED_END (EVENT_TYPES::onOpenContainerScreen);
690- return origin ();
690+ return origin ();
691691}
692692
693693LL_TYPE_INSTANCE_HOOK (
@@ -706,15 +706,15 @@ LL_TYPE_INSTANCE_HOOK(
706706 EVENT_TYPES::onCmdBlockExecute,
707707 false ,
708708 String::newString (this ->getCommand ()),
709- FloatPos::newPos (commandOrigin.getEntity ()->getPosition (), commandOrigin. getEntity ()-> getDimensionId ()),
709+ FloatPos::newPos (commandOrigin.getEntity ()->getPosition (), region. getDimensionId ()),
710710 Boolean::newBoolean (true )
711711 );
712712 } else {
713713 CallEventRtnValue (
714714 EVENT_TYPES::onCmdBlockExecute,
715715 false ,
716716 String::newString (this ->getCommand ()),
717- FloatPos::newPos (commandOrigin.getEntity ()-> getPosition (), commandOrigin. getEntity ()-> getDimensionId ()),
717+ FloatPos::newPos (commandOrigin.getBlockPosition (), region. getDimensionId ()),
718718 Boolean::newBoolean (false )
719719 );
720720 }
You can’t perform that action at this time.
0 commit comments