menu
#4583603 Return value of Xenophilicy\TableSpoon\block\multiblock\EndPortalMultiBlock::getTargetWorldInstance() must be an instance of pocketmine\level\Level, null returned

Submitted by PocketMine-MP 3.15.2

General information

Version: 3.15.2
Git commit: d7a66ad7
Plugin involvement: Direct
Report date: 2020-10-18 04:41:12 +0000 UTC

System Information

PHP version: 7.3.23
Operating system: linux
System banner: Linux 792f4247-f259-47f2-a329-c13560d2dbd6 5.4.0-51-generic #56-Ubuntu SMP Mon Oct 5 14:28:49 UTC 2020 x86_64

Error information

Warning: the TableSpoon plugin was directly involved in this crash. Please contact the plugin author.
Message: Return value of Xenophilicy\TableSpoon\block\multiblock\EndPortalMultiBlock::getTargetWorldInstance() must be an instance of pocketmine\level\Level, null returned
File: plugins/TeaspoonV0.5_2.phar/src/Xenophilicy/TableSpoon/block/multiblock/EndPortalMultiBlock
Line: #21
Error level: TypeError
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
use Xenophilicy\TableSpoon\TableSpoon;

/**
* Class EndPortalMultiblock
* @package Xenophilicy\TableSpoon\block\multiblock
*/
class EndPortalMultiBlock extends PortalMultiBlock{

public function getTargetWorldInstance(): Level{
return TableSpoon::$endLevel;
}

public function interact(Block $wrapping, Player $player, Item $item, int $face): bool{
return false;
}

public function update(Block $wrapping): bool{
return false;
}
}
#0 plugins/TeaspoonV0.5_2.phar/src/Xenophilicy/TableSpoon/player/PlayerSession(112): Xenophilicy\TableSpoon\block\multiblock\EndPortalMultiBlock->getTargetWorldInstance()
#1 plugins/TeaspoonV0.5_2.phar/src/Xenophilicy/TableSpoon/player/PlayerSession(106): Xenophilicy\TableSpoon\player\PlayerSession->teleport()
#2 plugins/TeaspoonV0.5_2.phar/src/Xenophilicy/TableSpoon/player/PlayerSessionManager(25): Xenophilicy\TableSpoon\player\PlayerSession->tick()
#3 src/pocketmine/scheduler/ClosureTask(61): Xenophilicy\TableSpoon\player\PlayerSessionManager::Xenophilicy\TableSpoon\player\{closure}(integer 99405)
#4 src/pocketmine/scheduler/TaskHandler(137): pocketmine\scheduler\ClosureTask->onRun(integer 99405)
#5 src/pocketmine/scheduler/TaskScheduler(179): pocketmine\scheduler\TaskHandler->run(integer 99405)
#6 src/pocketmine/plugin/PluginManager(654): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 99405)
#7 src/pocketmine/Server(2391): pocketmine\plugin\PluginManager->tickSchedulers(integer 99405)
#8 src/pocketmine/Server(2154): pocketmine\Server->tick()
#9 src/pocketmine/Server(1994): pocketmine\Server->tickProcessor()
#10 src/pocketmine/Server(1588): pocketmine\Server->start()
#11 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /home/container/, string[24] /home/container/plugins/)
#12 src/pocketmine/PocketMine(304): pocketmine\server()
#13 (11): require(string[71] phar:///home/container/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed Composer Dependencies