From b0cd32622e0dbaa1d6bded568e4db80d1ec21d6d Mon Sep 17 00:00:00 2001 From: Cyramek Date: Thu, 12 Sep 2024 16:11:15 +0200 Subject: [PATCH] Fix fences hitbox (#1710) --- src/main/java/ac/grim/grimac/utils/collisions/HitboxData.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/ac/grim/grimac/utils/collisions/HitboxData.java b/src/main/java/ac/grim/grimac/utils/collisions/HitboxData.java index c9a53fd063..fe8fc9e4cc 100644 --- a/src/main/java/ac/grim/grimac/utils/collisions/HitboxData.java +++ b/src/main/java/ac/grim/grimac/utils/collisions/HitboxData.java @@ -112,7 +112,7 @@ public enum HitboxData { } List 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;