menu
#7556305 Call to a member function getSafeSpawn() on null

Submitted by PocketMine-MP 4.9.0

General information

Version: 4.9.0
Git commit: 785dc712
Plugin involvement: Direct
Report date: 2022-09-22 19:13:52 +0000 UTC
Server uptime: 0 days 0 hours 2 minutes 26 seconds

System Information

PHP version: 8.0.19
JIT status: Disabled
Operating system: linux
System banner: Linux 94abb632-a53a-4439-ba8b-3a2054a2ba40 5.4.0-91-generic #102-Ubuntu SMP Fri Nov 5 16:31:28 UTC 2021 x86_64

Error information

Warning: the YamatoWarps plugin was directly involved in this crash. Please contact the plugin author.
Message: Call to a member function getSafeSpawn() on null
File: plugins/YamatoWarps (2).phar/src/Invisible/commands/WarpCommand
Line: #57
Error level: Error
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
                $player->sendTitle('§bPLOTS','§r§fGuarda tus objetos');
PluginUtils::PlaySound($player, "block.beehive.exit", 1, 2);
break;
case 2:
$player->teleport(Main::getInstance()->getServer()->getWorldManager()->getWorldByName("world")->getSafeSpawn());
$player->sendTitle('§bSURVIVAL','§r§fInicia tu aventura');
PluginUtils::PlaySound($player, "block.beehive.exit", 1, 2);
break;
case 3:
$player->teleport(Main::getInstance()->getServer()->getWorldManager()->getWorldByName("Hub")->getSafeSpawn());
$player->sendTitle('§bHUB','§r§fRegresa al lobby');
PluginUtils::PlaySound($player, "block.beehive.exit", 1, 2);
break;
case 4:
$player->sendMessage('§bNeverMC§7| §fSaliste correctamente');
PluginUtils::PlaySound($player, "block.beehive.exit", 1, 2);
break;

}
});
#0 plugins/61FormAPI-PM4 (1).phar/src/jojoe77777/FormAPI/Form(33): Invisible\commands\WarpCommand::Invisible\commands\{closure}(object ipad54\netherblocks\player\Player#96366, int 3)
#1 pmsrc/src/player/Player(2011): jojoe77777\FormAPI\Form->handleResponse(object ipad54\netherblocks\player\Player#96366, int 3)
#2 pmsrc/src/network/mcpe/handler/InGamePacketHandler(892): pocketmine\player\Player->onFormSubmit(int 2, int 3)
#3 pmsrc/vendor/pocketmine/bedrock-protocol/src/ModalFormResponsePacket(63): pocketmine\network\mcpe\handler\InGamePacketHandler->handleModalFormResponse(object pocketmine\network\mcpe\protocol\ModalFormResponsePacket#311098)
#4 pmsrc/src/network/mcpe/NetworkSession(409): pocketmine\network\mcpe\protocol\ModalFormResponsePacket->handle(object pocketmine\network\mcpe\handler\InGamePacketHandler#310181)
#5 pmsrc/src/network/mcpe/NetworkSession(372): pocketmine\network\mcpe\NetworkSession->handleDataPacket(object pocketmine\network\mcpe\protocol\ModalFormResponsePacket#311098, string[7] e...3..)
#6 pmsrc/src/network/mcpe/raklib/RakLibInterface(182): pocketmine\network\mcpe\NetworkSession->handleEncoded(string[10] cOebd2.b..)
#7 pmsrc/vendor/pocketmine/raklib-ipc/src/RakLibToUserThreadMessageReceiver(42): pocketmine\network\mcpe\raklib\RakLibInterface->onPacketReceive(int 0, string[19] .{O..y..0%41...e..o)
#8 pmsrc/src/network/mcpe/raklib/RakLibInterface(112): raklib\server\ipc\RakLibToUserThreadMessageReceiver->handle(object pocketmine\network\mcpe\raklib\RakLibInterface#97073)
#9 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\raklib\RakLibInterface->pocketmine\network\mcpe\raklib\{closure}()
#10 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(82): pocketmine\snooze\SleeperHandler->processNotifications()
#11 pmsrc/src/Server(1707): pocketmine\snooze\SleeperHandler->sleepUntil(float 1663874032.3693)
#12 pmsrc/src/Server(1065): pocketmine\Server->tickProcessor()
#13 pmsrc/src/PocketMine(305): pocketmine\Server->__construct(object BaseClassLoader#2, object pocketmine\utils\MainLogger#3, string[16] /home/container/, string[24] /home/container/plugins/)
#14 pmsrc/src/PocketMine(328): pocketmine\server()
#15 pmsrc(11): require(string[60] phar:///home/container/PocketMine-MP.phar/src/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed PHP Extensions

  • Show