Skip to content

Commit

Permalink
fix cross-portal interaction with double chest
Browse files Browse the repository at this point in the history
  • Loading branch information
qouteall committed Jan 7, 2024
1 parent 0e46e10 commit d2ecda8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ private static void onStillValidBlockEntity(
ClipContext.Block.COLLIDER
);
if (result != null &&
result.hitResult().getBlockPos().equals(blockEntity.getBlockPos())
result.hitResult().getBlockPos().distManhattan(blockEntity.getBlockPos()) < 8
) {
cir.setReturnValue(true);
}
Expand Down

0 comments on commit d2ecda8

Please sign in to comment.