Code: Error: [22:41:42] [Server thread/CRITICAL]: Could not pass event 'pocketmine\event\player\PlayerLoginEvent' to 'Main v1.0.0': mt_rand(): max(-1227) is smaller than min(-1193) on Main\Main [22:41:42] [Server thread/CRITICAL]: ErrorException: "mt_rand(): max(-1227) is smaller than min(-1193)" (EXCEPTION) in "/MainP/src/Main/Main" at line 552 Code; PHP: public function onPlayerLogin(PlayerLoginEvent $event) { $player = $event->getPlayer(); $m1 = -1193; $m2 = -1227; $m3 = 57; $m4 = 58; $m5 = -973; $m6 = -1107; $x = mt_rand($m1,$m2); $y = mt_rand($m3,$m4); $z = mt_rand($m5,$m6); $player->teleport(new Vector3($x,$y,$z, $this->getServer()->getDefaultLevel())); }