merge y offset fix from upstream

This commit is contained in:
Virt 2025-04-10 10:17:41 +02:00
commit f77e3db29a
3 changed files with 6 additions and 3 deletions

View file

@ -1,2 +1,5 @@
# v1.2.3.1
* added a version position for quick patches
* fixed sitting height being off by .2
# v1.2.3 # v1.2.3
* fixed not being able to sit when the Y level was below 0 * fixed not being able to sit when the Y level was below 0

View file

@ -13,10 +13,10 @@ yarn_mappings=1.21.5+build.1
loader_version=0.16.10 loader_version=0.16.10
# Mod Properties # Mod Properties
mod_version=1.2.3+1.21.5 mod_version=1.2.3.1+1.21.5
maven_group=one.oth3r maven_group=one.oth3r
file_name=sit! file_name=sit!
# Dependencies # Dependencies
fabric_version=0.119.5+1.21.5 fabric_version=0.119.5+1.21.5
modmenu_version=14.0.0-beta.2 modmenu_version=14.0.0-rc.2

View file

@ -209,7 +209,7 @@ public class Utl {
/** /**
* the customizable y height of the entity, as some versions have different sitting heights on the entity * the customizable y height of the entity, as some versions have different sitting heights on the entity
*/ */
public static final double Y_ADJUSTMENT = -0.2; public static final double Y_ADJUSTMENT = 0;
/** /**
* checks if the entity's block is still there, & is valid * checks if the entity's block is still there, & is valid