menu
#3768998 Call to a member function getFolderName() on null

Submitted by PocketMine-MP 3.11.4

General information

Version: 3.11.4
Git commit: 13f28d84
Plugin involvement: Direct
Report date: 2020-02-14 11:35:37 +0000 UTC

System Information

PHP version: 7.3.13
Operating system: linux
System banner: Linux 74852304-a496-4f84-8c53-a5a1bcffaad5 4.4.0-171-generic #200-Ubuntu SMP Tue Dec 3 11:04:55 UTC 2019 x86_64

Error information

Warning: the if plugin was directly involved in this crash. Please contact the plugin author.
Message: Call to a member function getFolderName() on null
File: plugins/if_plugin_v3.7.1.phar/src/aieuo/ip/IFAPI
Line: #96
Error level: Error
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
        }
$ops = [];
foreach ($server->getOps()->getAll() as $p => $value) {
$ops[] = $p;
}
return [
"player" => new StringVariable("player", $player->__toString()),
"player_name" => new StringVariable("player_name", $player->getName()),
"nametag" => new StringVariable("nametag", $player->getDisplayName()),
"player_pos" => new StringVariable("player_pos", $player->x.",".$player->y.",".$player->z.",".$player->level->getFolderName()),
"player_x" => new NumberVariable("player_x", $player->x),
"player_y" => new NumberVariable("player_y", $player->y),
"player_z" => new NumberVariable("player_z", $player->z),
"player_level" => new StringVariable("player_level", $player->level->getFolderName()),
"health" => new NumberVariable("health", $player->getHealth()),
"max_health" => new NumberVariable("max_health", $player->getMaxHealth()),
"firstplayed" => new NumberVariable("firstplayed", $player->getFirstPlayed()),
"lastplayed" => new NumberVariable("lastplayed", $player->getLastPlayed()),
"hand_index" => new NumberVariable("hand_index", $player->getInventory()->getHeldItemIndex()),
"hand_item" => new StringVariable("hand_item", $player->getInventory()->getItemInHand()->__toString()),
#0 plugins/if_plugin_v3.7.1.phar/src/aieuo/ip/manager/IFManager(200): aieuo\ip\IFAPI->getReplaceData(array[2])
#1 plugins/if_plugin_v3.7.1.phar/src/aieuo/ip/manager/ChainIfManager(20): aieuo\ip\manager\IFManager->getReplaceData(array[2])
#2 plugins/if_plugin_v3.7.1.phar/src/aieuo/ip/IFAPI(27): aieuo\ip\manager\ChainIfManager->getReplaceData(array[2])
#3 plugins/if_plugin_v3.7.1.phar/src/aieuo/ip/IFAPI(61): aieuo\ip\IFAPI->checkCondition(object pocketmine\Player, array[2], array[2])
#4 plugins/if_plugin_v3.7.1.phar/src/aieuo/ip/task/DelayedCooperationTask(31): aieuo\ip\IFAPI->executeIfMatchCondition(object pocketmine\Player, array[2], array[1], array[1], array[2])
#5 src/pocketmine/scheduler/TaskHandler(169): aieuo\ip\task\DelayedCooperationTask->onRun(integer 248408)
#6 src/pocketmine/scheduler/TaskScheduler(206): pocketmine\scheduler\TaskHandler->run(integer 248408)
#7 src/pocketmine/plugin/PluginManager(703): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 248408)
#8 src/pocketmine/Server(2670): pocketmine\plugin\PluginManager->tickSchedulers(integer 248408)
#9 src/pocketmine/Server(2403): pocketmine\Server->tick()
#10 src/pocketmine/Server(2250): pocketmine\Server->tickProcessor()
#11 src/pocketmine/Server(1811): pocketmine\Server->start()
#12 src/pocketmine/PocketMine(274): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /home/container/, string[24] /home/container/plugins/)
#13 src/pocketmine/PocketMine(297): pocketmine\server()
#14 (1): require(string[64] phar:///home/container/Server.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show