mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-16 06:30:46 +01:00
fix no grav bee patch for world height changes
This commit is contained in:
parent
31c62f47a5
commit
1314845ad3
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue