Skip to content

Commit

Permalink
Fix fences hitbox (#1710)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyramek committed Sep 12, 2024
1 parent 3445a02 commit b0cd326
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public enum HitboxData {
}

List<SimpleCollisionBox> boxes = new ArrayList<>();
CollisionData.getData(state.getType()).getMovementCollisionBox(player, version, state, x, y, z).downCast(boxes);
CollisionData.getData(state.getType()).getMovementCollisionBox(player, version, state).downCast(boxes);

for (SimpleCollisionBox box : boxes) {
box.maxY = 1;
Expand Down

0 comments on commit b0cd326

Please sign in to comment.