Skip to content

Commit

Permalink
Fix X-Ray crash
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander01998 committed Dec 29, 2024
1 parent da7c696 commit 26fe5d2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ private static boolean onRenderSmoothOrFlat(BlockState state,
if(event.isRendered() != null)
return event.isRendered();

return original.call(state, world.getBlockState(otherPos), side);
return original.call(state, world, pos, side, otherPos);
}

/**
Expand Down

0 comments on commit 26fe5d2

Please sign in to comment.