PHP: 22.06 09:12:59 [Server] Server thread/CRITICAL TypeError: "Argument 2 passed to pocketmine\math\AxisAlignedBB::setBounds() must be of the type float, string given, called in phar:///jar/MCPE1.10.phar/src/pocketmine/entity/Entity.php on line 742" (EXCEPTION) in "vendor/pocketmine/math/src/AxisAlignedBB" at line 4722.06 09:12:59 [Server] Server thread/DEBUG #0 src/pocketmine/entity/Entity(742): pocketmine\math\AxisAlignedBB->setBounds(double -0.3, string 103, double -0.3, double 0.3, double 104.8, double 0.3)22.06 09:12:59 [Server] Server thread/DEBUG #1 src/pocketmine/entity/Entity(1858): pocketmine\entity\Entity->recalculateBoundingBox()22.06 09:12:59 [Server] Server thread/DEBUG #2 src/pocketmine/entity/Entity(1874): pocketmine\entity\Entity->setPosition(pocketmine\level\Position object)22.06 09:12:59 [Server] Server thread/DEBUG #3 src/pocketmine/entity/Entity(1969): pocketmine\entity\Entity->setPositionAndRotation(pocketmine\level\Position object, double 0, double 0)22.06 09:12:59 [Server] Server thread/DEBUG #4 src/pocketmine/Player(3764): pocketmine\entity\Entity->teleport(pocketmine\level\Position object, double 0, double 0)22.06 09:12:59 [Server] Server thread/DEBUG #5 plugins/SkyBlockPro.phar/src/sb/Main(155): pocketmine\Player->teleport(pocketmine\level\Position object, double 0, double 0)22.06 09:12:59 [Server] Server thread/DEBUG #6 src/pocketmine/command/PluginCommand(58): sb\Main->onCommand(pocketmine\Player object, pocketmine\command\PluginCommand object, string sb, array Array())22.06 09:12:59 [Server] Server thread/DEBUG #7 src/pocketmine/command/SimpleCommandMap(270): pocketmine\command\PluginCommand->execute(pocketmine\Player object, string sb, array Array())22.06 09:12:59 [Server] Server thread/DEBUG #8 src/pocketmine/Server(2020): pocketmine\command\SimpleCommandMap->dispatch(pocketmine\Player object, string sb ilha)22.06 09:12:59 [Server] Server thread/DEBUG #9 src/pocketmine/Player(2231): pocketmine\Server->dispatchCommand(pocketmine\Player object, string sb ilha)22.06 09:12:59 [Server] Server thread/DEBUG #10 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(239): pocketmine\Player->chat(string /sb ilha)22.06 09:12:59 [Server] Server thread/DEBUG #11 src/pocketmine/network/mcpe/protocol/CommandRequestPacket(54): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleCommandRequest(pocketmine\network\mcpe\protocol\CommandRequestPacket object)22.06 09:12:59 [Server] Server thread/DEBUG #12 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(109): pocketmine\network\mcpe\protocol\CommandRequestPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object)22.06 09:12:59 [Server] Server thread/DEBUG #13 src/pocketmine/network/mcpe/protocol/BatchPacket(123): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\CommandRequestPacket object)22.06 09:12:59 [Server] Server thread/DEBUG #14 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(109): pocketmine\network\mcpe\protocol\BatchPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object)22.06 09:12:59 [Server] Server thread/DEBUG #15 src/pocketmine/Player(3124): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)22.06 09:12:59 [Server] Server thread/DEBUG #16 src/pocketmine/network/mcpe/RakLibInterface(169): pocketmine\Player->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)22.06 09:12:59 [Server] Server thread/DEBUG #17 vendor/pocketmine/raklib/src/server/ServerHandler(99): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string 164.163.250.10 44815, raklib\protocol\EncapsulatedPacket object, integer 0)22.06 09:12:59 [Server] Server thread/DEBUG #18 src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket()22.06 09:12:59 [Server] Server thread/DEBUG #19 src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process()22.06 09:12:59 [Server] Server thread/DEBUG #20 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe\{closure}()22.06 09:12:59 [Server] Server thread/DEBUG #21 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications()22.06 09:12:59 [Server] Server thread/DEBUG #22 src/pocketmine/Server(2339): pocketmine\snooze\SleeperHandler->sleepUntil(double 1561209179.9329)22.06 09:12:59 [Server] Server thread/DEBUG #23 src/pocketmine/Server(2196): pocketmine\Server->tickProcessor()22.06 09:12:59 [Server] Server thread/DEBUG #24 src/pocketmine/Server(1775): pocketmine\Server->start()22.06 09:12:59 [Server] Server thread/DEBUG #25 src/pocketmine/PocketMine(266): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /, string /plugins/)22.06 09:12:59 [Server] Server thread/DEBUG #26 (1): require(string phar:///jar/MCPE1.10.phar/src/pocketmine/PocketMine.php)22.06 09:12:59 [Server] Server thread/INFO denisgt123 left the game22.06 09:12:59 [Server] Server thread/CRITICAL TypeError: "Argument 2 passed to pocketmine\nbt\tag\DoubleTag::__construct() must be of the type float, string given, called in phar:///jar/MCPE1.10.phar/src/pocketmine/entity/Entity.php on line 939" (EXCEPTION) in my code is://$s[0] and $s[2] is 0//$s[1] is 103//$this->getIlha($p) returns name of world$new = new Position($s[0], $s[1], $s[2], $this->getServer()->getLevelByName($this->getIlha($p))); $this->getServer()->getLevelByName($this->getIlha($p))->loadChunk($new->getFloorX(), $new->getFloorZ(), true); $p->teleport($new, 0, 0);
You're probably putting in an array a string, try putting an intval($s[0]) etc Send the code when you put the values of $s[0/1/2]