Skip to content

Commit

Permalink
Fixed messy foliage playing for the wrong location (Fixes #111)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sollace committed Dec 4, 2021
1 parent 7130c45 commit 2fc88d0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ private void simulateBrushes(LivingEntity ply) {
}

Association assos = solver.findAssociation(ply.world, new BlockPos(
ply.getZ(),
ply.getX(),
ply.getY() - 0.1D - ply.getHeightOffset() - (ply.isOnGround() ? 0 : 0.25D),
ply.getZ()
), Solver.MESSY_FOLIAGE_STRATEGY);
Expand Down

0 comments on commit 2fc88d0

Please sign in to comment.