WorldCreationOptions are now mandatory during creation of worlds

This commit is contained in:
Dylan K. Taylor
2021-04-15 13:54:58 +01:00
parent 203cc7fcef
commit 7b21fc8e9d
6 changed files with 6 additions and 8 deletions

View File

@ -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).