Ivan Zarubin

Results 18 comments of Ivan Zarubin

@PeratX Do you know how to fix this problem ?

``` php use pocketmine\level\generator\Generator; use pocketmine\level\ChunkManager; use pocketmine\utils\Random; use pocketmine\math\Vector3; use pocketmine\block\Block; class TWWGenerator extends Generator{ private $random,$level; public function __construct(array $settings=array()){ } public function getName(){ return "tww"; } public...

Just to explain the principle of generation. I honestly didn't quite understand what i write xD

i forgot load: STARTUP )

it`s progress line 15, __construct() 16:47:49 [CRITICAL] Could not execute asynchronous task GenerationTask: Argument 1 passed to Ivanzar\TheTwoTowerns\TWWGenerator::__construct() must be of the type array, null given, called in phar://C:/Users/ivanzar/PocketMine Progect/PocketMine-MP/PocketMine-MP.phar/src/pocketmine/level/generator/GenerationTask.php...

да я знаю

это есть

это ты про это public function __construct(array $settings=array()){ }

может вместо приват `php private $settings = array();` поставить `php return`

нет Declaration of Ivanzar\TheTwoTowerns\TWWGenerator::__construct() must be compatible with pocketmine\level\generator\Generator::__construct(array $settings = Array) in C:\Users\ivanzar\PocketMine Progect\PocketMine-MP\plugins\DevTools\src\Ivanzar\TheTwoTowerns\TWWGenerator.php on line 0