Skip to content

Commit

Permalink
Passable / initially colliding blocks: catch 1.5 height.
Browse files Browse the repository at this point in the history
Just check bounds vs. blocks up to 0.5 blocks lower within
BlockProperties.collectInitiallyColliding.
  • Loading branch information
asofold committed Feb 6, 2018
1 parent 3c98098 commit 715a49d
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -4490,7 +4490,7 @@ public static final int collectInitiallyCollidingBlocks(final BlockCache access,
int added = 0;
final int iMinX = Location.locToBlock(minX);
final int iMaxX = Location.locToBlock(maxX);
final int iMinY = Location.locToBlock(minY);
final int iMinY = Location.locToBlock(minY - 0.5); // Include height150 blocks.
final int iMaxY = Location.locToBlock(maxY);
final int iMinZ = Location.locToBlock(minZ);
final int iMaxZ = Location.locToBlock(maxZ);
Expand Down

0 comments on commit 715a49d

Please sign in to comment.