We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee1c01b commit eceef89Copy full SHA for eceef89
src/legacy/events/EventHooks.cpp
@@ -499,7 +499,7 @@ LL_TYPE_INSTANCE_HOOK(
499
CallEventRtnValue(
500
EVENT_TYPES::onPistonTryPush,
501
false,
502
- IntPos::newPos(curPos, region.getDimensionId()),
+ IntPos::newPos(this->getPosition(), region.getDimensionId()),
503
BlockClass::newBlock(curPos, region.getDimensionId())
504
);
505
}
@@ -509,7 +509,7 @@ LL_TYPE_INSTANCE_HOOK(
509
if (shouldPush) {
510
CallEventUncancelable(
511
EVENT_TYPES::onPistonPush,
512
513
514
515
0 commit comments