Hey, I Have that error when i teleport a player to a location i don't see why PHP: public function onInt(PlayerInteractEvent $event){$player = $event->getPlayer();$block = $event->getBlock();$tile = $player->getLevel()->getTile($block);if($tile instanceof Sign){$text = $tile->getText();if($text[0] == "§4[FFA]" || $text[0] == "[FFA]"){ $player->sendMessage("Chargement FFA...."); $this->JoinFFA($player); }}} PHP: public function JoinFFA(Player $player){ $level = $this->getServer()->getLevelByName("ffa"); $player->teleport(new Location(267, 77, 248, $level));//Some more Code but not using teleport} Code: Could not pass event 'pocketmine\event\player\PlayerInteractEvent' to 'FFA v0.0.1Pendoria': Argument 2 passed to pocketmine\entity\Entity::setPositionAndRotation() must be of the type float, object given, called in phar:///jar/PMMP-V1.7.phar/src/pocketmine/entity/Entity.php on line 1795 on Palente\FFA\Main
use pocketmine\level\Position; because in pocketmine\level\Location you must especify a Yaw and Pitch