menu
#2387447 Call to a member function isInLoadedTerrain() on null

Submitted by PocketMine-MP 3.8.2

General information

Version: 3.8.2
Git commit: 5c81da9b
Plugin involvement: Indirect
Report date: 2019-05-15 17:48:27 +0000 UTC

System Information

PHP version: 7.2.12
Operating system: linux
System banner: Linux ns546439 4.9.87-xxxx-std-ipv6-64 #1 SMP Tue Mar 13 18:41:47 CET 2018 x86_64

Error information

Warning: the BedWars plugin was indirectly involved in this crash. This may be a false positive. Please contact the plugin author before opening a bug ticket.
Message: Call to a member function isInLoadedTerrain() on null
File: src/pocketmine/tile/Chest
Line: #121
Error level: Error
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131

/**
* @return ChestInventory
*/
public function getRealInventory(){
return $this->inventory;
}

protected function checkPairing(){
if($this->isPaired() and !$this->getLevel()->isInLoadedTerrain(new Vector3($this->pairX, $this->y, $this->pairZ))){
//paired to a tile in an unloaded chunk
$this->doubleInventory = null;

}elseif(($pair = $this->getPair()) instanceof Chest){
if(!$pair->isPaired()){
$pair->createPair($this);
$pair->checkPairing();
}
if($this->doubleInventory === null){
if($pair->doubleInventory !== null){
#0 src/pocketmine/tile/Chest(108): pocketmine\tile\Chest->checkPairing()
#1 plugins/BW.phar/src/bw/Main(360): pocketmine\tile\Chest->getInventory()
#2 plugins/BW.phar/src/bw/Task/Esperar(22): bw\Main->addW(pocketmine\Player object, pocketmine\tile\Chest object)
#3 src/pocketmine/scheduler/TaskHandler(159): bw\Task\Esperar->onRun(integer 1322)
#4 src/pocketmine/scheduler/TaskScheduler(199): pocketmine\scheduler\TaskHandler->run(integer 1322)
#5 src/pocketmine/plugin/PluginManager(688): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 1322)
#6 src/pocketmine/Server(2558): pocketmine\plugin\PluginManager->tickSchedulers(integer 1322)
#7 src/pocketmine/Server(2334): pocketmine\Server->tick()
#8 src/pocketmine/Server(2195): pocketmine\Server->tickProcessor()
#9 src/pocketmine/Server(1774): pocketmine\Server->start()
#10 src/pocketmine/PocketMine(266): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /home/minecraft/multicraft/servers/server265/, string /home/minecraft/multicraft/servers/server265/plugins/)
#11 (1): require(string phar:///home/minecraft/multicraft/jar/PocketMine/pocketmine1110.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show