Skip to content

Commit

Permalink
AutoBuilder should visualize in water
Browse files Browse the repository at this point in the history
  • Loading branch information
Artamedes committed May 25, 2020
1 parent d32a5fb commit 69e850e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ else if (mc.player.prevOnGround != mc.player.onGround)

IBlockState l_State = mc.world.getBlockState(l_Pos);

if (l_State != null && l_State.getBlock() != Blocks.AIR)
if (l_State != null && l_State.getBlock() != Blocks.AIR && l_State.getBlock() != Blocks.WATER)
continue;

final AxisAlignedBB bb = new AxisAlignedBB(l_Pos.getX() - mc.getRenderManager().viewerPosX,
Expand Down

0 comments on commit 69e850e

Please sign in to comment.