Skip to content

Commit

Permalink
Fix Pink Petals Hitbox (Coral Fan) for > 1.12.2 and =< 1.19.3 players
Browse files Browse the repository at this point in the history
  • Loading branch information
Axionize committed Nov 22, 2024
1 parent 187d70d commit 5ef314a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ public enum HitboxData {
} else if (version.isNewerThan(ClientVersion.V_1_19_3)) {
return new HexCollisionBox(0.0D, 0.0D, 0.0D, 16.0D, 3.0D, 16.0D);
} else if (version.isNewerThan(ClientVersion.V_1_12_2)) {
return CORAL_FAN.dynamic.fetch(player, item, version, data, x, y, z);
return CORAL_FAN.box.copy().offset(x, y ,z);
}
return GRASS_FERN.dynamic.fetch(player, item, version, data, x, y, z);
}, StateTypes.PINK_PETALS),
Expand Down

0 comments on commit 5ef314a

Please sign in to comment.