mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-05 01:16:15 +00:00
WorldCreationOptions are now mandatory during creation of worlds
This commit is contained in:
@ -30,7 +30,7 @@ interface WritableWorldProvider extends WorldProvider{
|
||||
/**
|
||||
* Generate the needed files in the path given
|
||||
*/
|
||||
public static function generate(string $path, string $name, ?WorldCreationOptions $options = null) : void;
|
||||
public static function generate(string $path, string $name, WorldCreationOptions $options) : void;
|
||||
|
||||
/**
|
||||
* Saves a chunk (usually to disk).
|
||||
|
Reference in New Issue
Block a user