Hello, I have one error with my plugin, when i teleport player : PHP: $this->getServer()->loadLevel($level);$player->teleport($this->getServer()->getLevelByName($level)->getSafeSpawn()); after, I have it in the console : [Server thread/CRITICAL]: Could not tick level "world": Argument 4 passed to pocketmine\level\Level::addEntityMovement() must be of the type float, null given, called in phar:///home/fwpe/PocketMine-MP.phar/src/pocketmine/Player.php on line 1576 [Server thread/CRITICAL]: TypeError: "Argument 4 passed to pocketmine\level\Level::addEntityMovement() must be of the type float, null given, called in phar:///home/fwpe/PocketMine-MP.phar/src/pocketmine/Player.php on line 1576" (EXCEPTION) in "src/pocketmine/level/Level" at line 2886 thank you in advance sorry for my english :/
I have the same error but with more details : [Server thread/CRITICAL]: Could not pass event 'pocketmine\event\player\PlayerMoveEvent' to 'PitchOut v1.0.0': Argument 2 passed to pocketmine\math\AxisAlignedBB::setBounds() must be of the type float, null given, called in phar:///home/fwpe/PocketMine-MP.phar/src/pocketmine/entity/Entity.php on line 1779 on pitchout\Main [Server thread/CRITICAL]: TypeError: "Argument 2 passed to pocketmine\math\AxisAlignedBB::setBounds() must be of the type float, null given, called in phar:///home/fwpe/PocketMine-MP.phar/src/pocketmine/entity/Entity.php on line 1779" (EXCEPTION) in "src/pocketmine/math/AxisAlignedBB" at line 52 [Server thread/CRITICAL]: Could not tick level "world": Argument 4 passed to pocketmine\level\Level::addEntityMovement() must be of the type float, null given, called in phar:///home/fwpe/PocketMine-MP.phar/src/pocketmine/Player.php on line 1576 [Server thread/CRITICAL]: TypeError: "Argument 4 passed to pocketmine\level\Level::addEntityMovement() must be of the type float, null given, called in phar:///home/fwpe/PocketMine-MP.phar/src/pocketmine/Player.php on line 1576" (EXCEPTION) in "src/pocketmine/level/Level" at line 2886