Skip to content

Commit

Permalink
Change: remove unnecessary redirection in mixin.world.inline_block_ac…
Browse files Browse the repository at this point in the history
…cess.LevelMixin.
  • Loading branch information
AbdElAziz333 committed Feb 7, 2024
1 parent c1672dd commit 2eb55f9
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ public BlockState getBlockState(BlockPos pos) {
//This code path is slower than with the extra world height limit check. Tradeoff in favor of the default path.
}

/* TODO: what is this?
@Redirect(
method = "getFluidState",
at = @At(
Expand All @@ -53,5 +54,5 @@ public BlockState getBlockState(BlockPos pos) {
)
private boolean skipFluidHeightLimitTest(Level world, BlockPos pos) {
return world.isOutsideBuildHeight(pos);
}
}*/
}

0 comments on commit 2eb55f9

Please sign in to comment.