Merge branch '1.21.3' into 1.21.1

# Conflicts:
#	gradle.properties
This commit is contained in:
Oth3r 2025-03-13 17:51:07 -05:00
commit 2c4dc72f42
4 changed files with 8 additions and 22 deletions

View file

@ -226,8 +226,7 @@ public class Utl {
public static BlockPos getBlockPos(DisplayEntity.TextDisplayEntity entity) {
// the entity Y level, adjusted
// the adjustment - is the opposite of the offset applied in Entity.create()
double entityY = entity.getY() + (Y_ADJUSTMENT*-1);
double entityY = entity.getBlockY() + (Y_ADJUSTMENT*-1);
// get the block pos
BlockPos pos = new BlockPos(entity.getBlockX(),(int)entityY,entity.getBlockZ());
// if above the block, subtract 1