Merge branch 'stable'

This commit is contained in:
Dylan K. Taylor
2020-02-01 21:03:21 +00:00
2 changed files with 6 additions and 4 deletions

View File

@ -24,13 +24,15 @@ declare(strict_types=1);
namespace pocketmine\world\format\io;
use pocketmine\world\format\Chunk;
use pocketmine\world\generator\Generator;
interface WritableWorldProvider extends WorldProvider{
/**
* Generate the needed files in the path given
*
* @param mixed[] $options
* @phpstan-param array<string, mixed> $options
* @phpstan-param class-string<Generator> $generator
* @phpstan-param array<string, mixed> $options
*/
public static function generate(string $path, string $name, int $seed, string $generator, array $options = []) : void;