mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 10:22:56 +00:00
Fixed bad values assigned to LongTags
PhpStorm you bitch... why didn't you tell me these were a problem?!
This commit is contained in:
@ -135,7 +135,7 @@ class LevelDB extends BaseLevelProvider{
|
||||
return file_exists($path . "/level.dat") and is_dir($path . "/db/");
|
||||
}
|
||||
|
||||
public static function generate(string $path, string $name, $seed, string $generator, array $options = []){
|
||||
public static function generate(string $path, string $name, int $seed, string $generator, array $options = []){
|
||||
if(!file_exists($path)){
|
||||
mkdir($path, 0777, true);
|
||||
}
|
||||
|
Reference in New Issue
Block a user