fix no grav bee patch for world height changes

This commit is contained in:
Jake Potrebic 2021-06-14 08:19:29 -07:00
parent 31c62f47a5
commit 1314845ad3

View file

@ -21,7 +21,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+
+ @Override
+ public void tick() {
+ if (this.mob.getY() <= 0) {
+ if (this.mob.getY() <= Bee.this.level.getMinBuildHeight()) {
+ this.mob.setNoGravity(false);
+ }
+ super.tick();