mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-06 07:02:18 -07:00
fix no grav bee patch for world height changes
This commit is contained in:
@@ -21,7 +21,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
+
|
+
|
||||||
+ @Override
|
+ @Override
|
||||||
+ public void tick() {
|
+ public void tick() {
|
||||||
+ if (this.mob.getY() <= 0) {
|
+ if (this.mob.getY() <= Bee.this.level.getMinBuildHeight()) {
|
||||||
+ this.mob.setNoGravity(false);
|
+ this.mob.setNoGravity(false);
|
||||||
+ }
|
+ }
|
||||||
+ super.tick();
|
+ super.tick();
|
||||||
|
Reference in New Issue
Block a user