Skip to content

Commit

Permalink
Fix 1.11 Ascending rails hitboxes
Browse files Browse the repository at this point in the history
  • Loading branch information
Axionize committed Sep 28, 2024
1 parent 4e3c589 commit 070f92a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/main/java/ac/grim/grimac/utils/collisions/HitboxData.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ public enum HitboxData {
} 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);
} else if (version.isOlderThan(ClientVersion.V_1_12)) {
return new SimpleCollisionBox(0.0F, 0.0F, 0.0F, 1.0F, 0.625F, 1.0F);
}
return new HexCollisionBox(0.0D, 0.0D, 0.0D, 16.0D, 8.0D, 16.0D);
default:
Expand Down

0 comments on commit 070f92a

Please sign in to comment.