          }
          else if (par1Packet15Place.getYPosition() >= this.mcServer.getBuildLimit() - 1 && (par1Packet15Place.getDirection() == 1 || par1Packet15Place.getYPosition() >= this.mcServer.getBuildLimit()))
          {
-@@ -536,7 +571,9 @@
+@@ -536,7 +572,9 @@
                  var13 = var12;
              }
  

                 {
                     return;
                 }
@@ -471,6 +501,7 @@
             {
                 if (var18 <= var3 && !var4)
                 {

                 this.playerEntity.onGround = par1Packet10Flying.onGround;
                 this.mcServer.getConfigurationManager().serverUpdateMountedMovingPlayer(this.playerEntity);
                 this.playerEntity.updateFlyingState(this.playerEntity.posY - var3, par1Packet10Flying.onGround);
@@ -447,7 +475,10 @@
                 double var13 = this.playerEntity.posZ - ((double)var8 + 0.5D);
                 double var15 = var9 * var9 + var11 * var11 + var13 * var13;
 
