From 4e3c5894b5b08e79dcd0b2db191131318fe2f056 Mon Sep 17 00:00:00 2001 From: Axionize <154778082+Axionize@users.noreply.github.com> Date: Sat, 28 Sep 2024 01:37:21 -0400 Subject: [PATCH] Fix HitBox of ascending powered rail on 1.9 --- 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 ea66903173..5eaadd28fc 100644 --- a/src/main/java/ac/grim/grimac/utils/collisions/HitboxData.java +++ b/src/main/java/ac/grim/grimac/utils/collisions/HitboxData.java @@ -37,7 +37,7 @@ public enum HitboxData { return new SimpleCollisionBox(0.0F, 0.0F, 0.0F, 1.0F, 0.625F, 1.0F, false); } else if (version.isNewerThanOrEquals(ClientVersion.V_1_9) && version.isOlderThan(ClientVersion.V_1_10)) { // https://bugs.mojang.com/browse/MC-89552 sloped rails in 1.9 - it is slightly taller than a regular rail - return new SimpleCollisionBox(0.0F, 0.0F, 0.0F, 1.0F, 0.125F, 1.0F, false); + return new SimpleCollisionBox(0.0F, 0.0F, 0.0F, 1.0F, 0.1875F, 1.0F, false); } else if (version.isOlderThan(ClientVersion.V_1_11)) { // https://bugs.mojang.com/browse/MC-102638 All sloped rails are full blocks in 1.10 return new SimpleCollisionBox(0, 0, 0, 1, 1, 1, true);