mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-16 16:34:05 +00:00
fix CS
This commit is contained in:
parent
89d7b7198f
commit
092aabeb97
@ -111,19 +111,16 @@ use pocketmine\world\WorldCreationOptions;
|
|||||||
use pocketmine\world\WorldManager;
|
use pocketmine\world\WorldManager;
|
||||||
use Ramsey\Uuid\UuidInterface;
|
use Ramsey\Uuid\UuidInterface;
|
||||||
use Webmozart\PathUtil\Path;
|
use Webmozart\PathUtil\Path;
|
||||||
use function array_shift;
|
|
||||||
use function array_sum;
|
use function array_sum;
|
||||||
use function base64_encode;
|
use function base64_encode;
|
||||||
use function cli_set_process_title;
|
use function cli_set_process_title;
|
||||||
use function copy;
|
use function copy;
|
||||||
use function count;
|
use function count;
|
||||||
use function explode;
|
|
||||||
use function file_exists;
|
use function file_exists;
|
||||||
use function file_get_contents;
|
use function file_get_contents;
|
||||||
use function file_put_contents;
|
use function file_put_contents;
|
||||||
use function filemtime;
|
use function filemtime;
|
||||||
use function get_class;
|
use function get_class;
|
||||||
use function implode;
|
|
||||||
use function ini_set;
|
use function ini_set;
|
||||||
use function is_array;
|
use function is_array;
|
||||||
use function is_string;
|
use function is_string;
|
||||||
|
@ -24,19 +24,13 @@ declare(strict_types=1);
|
|||||||
namespace pocketmine\world\generator;
|
namespace pocketmine\world\generator;
|
||||||
|
|
||||||
use pocketmine\block\VanillaBlocks;
|
use pocketmine\block\VanillaBlocks;
|
||||||
use pocketmine\item\LegacyStringToItemParser;
|
|
||||||
use pocketmine\item\LegacyStringToItemParserException;
|
|
||||||
use pocketmine\world\ChunkManager;
|
use pocketmine\world\ChunkManager;
|
||||||
use pocketmine\world\format\Chunk;
|
use pocketmine\world\format\Chunk;
|
||||||
use pocketmine\world\format\SubChunk;
|
use pocketmine\world\format\SubChunk;
|
||||||
use pocketmine\world\generator\object\OreType;
|
use pocketmine\world\generator\object\OreType;
|
||||||
use pocketmine\world\generator\populator\Ore;
|
use pocketmine\world\generator\populator\Ore;
|
||||||
use pocketmine\world\generator\populator\Populator;
|
use pocketmine\world\generator\populator\Populator;
|
||||||
use function array_map;
|
|
||||||
use function count;
|
use function count;
|
||||||
use function explode;
|
|
||||||
use function preg_match;
|
|
||||||
use function preg_match_all;
|
|
||||||
|
|
||||||
class Flat extends Generator{
|
class Flat extends Generator{
|
||||||
|
|
||||||
|
@ -62,7 +62,6 @@ final class FlatGeneratorOptions{
|
|||||||
*/
|
*/
|
||||||
public function getExtraOptions() : array{ return $this->extraOptions; }
|
public function getExtraOptions() : array{ return $this->extraOptions; }
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return int[]
|
* @return int[]
|
||||||
* @phpstan-return array<int, int>
|
* @phpstan-return array<int, int>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user