missed one ...

This commit is contained in:
Dylan K. Taylor 2021-04-15 15:23:15 +01:00
parent 08f0c9a244
commit edb590f681
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D

View File

@ -74,18 +74,6 @@ abstract class RegionWorldProvider extends BaseWorldProvider{
return false;
}
public static function generate(string $path, string $name, WorldCreationOptions $options) : void{
if(!file_exists($path)){
mkdir($path, 0777, true);
}
if(!file_exists($path . "/region")){
mkdir($path . "/region", 0777);
}
JavaWorldData::generate($path, $name, $options, static::getPcWorldFormatVersion());
}
/** @var RegionLoader[] */
protected $regions = [];