1.21.1 changes

This commit is contained in:
Oth3r 2025-06-14 19:02:31 -05:00
commit 53dd704f80

View file

@ -485,8 +485,8 @@ public class Utl {
public static double getPlayerReach(PlayerEntity player) { public static double getPlayerReach(PlayerEntity player) {
// use the BLOCK_INTERACTION_RANGE attribute if available // use the BLOCK_INTERACTION_RANGE attribute if available
if (player.getAttributeInstance(EntityAttributes.BLOCK_INTERACTION_RANGE) != null) { if (player.getAttributeInstance(EntityAttributes.PLAYER_BLOCK_INTERACTION_RANGE) != null) {
return player.getAttributeValue(EntityAttributes.BLOCK_INTERACTION_RANGE); return player.getAttributeValue(EntityAttributes.PLAYER_BLOCK_INTERACTION_RANGE);
} }
// fallback to 5 // fallback to 5
return 5; return 5;