menu
#3550188 Call to a member function addParticle() on null

Submitted by PocketMine-MP 3.11.3

General information

Version: 3.11.3
Git commit: 0d5704b1
Plugin involvement: Direct
Report date: 2020-01-14 05:21:53 +0000 UTC

System Information

PHP version: 7.3.7
Operating system: linux
System banner: Linux db0d94b9777c 4.15.0-55-generic #60-Ubuntu SMP Tue Jul 2 18:22:20 UTC 2019 x86_64

Error information

Warning: the MysteryBox plugin was directly involved in this crash. Please contact the plugin author.
Message: Call to a member function addParticle() on null
File: plugins/MysteryBox.phar/src/mysterybox/tile/MysteryTile
Line: #168
Error level: Error
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
			foreach($this->getLevel()->getPlayers() as $player){
$this->updateFloat($player);
}
}

$s = $this->getParticleParts();
$s1 = $s[0];
$s2 = $s[1];

$this->getLevel()->addParticle($s1[$this->p_index]);
$this->getLevel()->addParticle($s2[$this->p_index]);

if($this->p_index++ >= 360){
$this->p_index = 0;
}

return true;
}

/**
#0 src/pocketmine/level/Level(867): mysterybox\tile\MysteryTile->onUpdate()
#1 src/pocketmine/level/Level(786): pocketmine\level\Level->actuallyDoTick(integer 2460)
#2 src/pocketmine/Server(2446): pocketmine\level\Level->doTick(integer 2460)
#3 src/pocketmine/Server(2577): pocketmine\Server->checkTickUpdates(integer 2460, double 1578979313.5726)
#4 src/pocketmine/Server(2346): pocketmine\Server->tick()
#5 src/pocketmine/Server(2203): pocketmine\Server->tickProcessor()
#6 src/pocketmine/Server(1785): pocketmine\Server->start()
#7 src/pocketmine/PocketMine(268): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[15] /home/gs-41773/, string[23] /home/gs-41773/plugins/)
#8 src/pocketmine/PocketMine(291): pocketmine\server()
#9 (1): require(string[94] phar:///pro/bin/mcpe/pocketmine-stable-1.14.0/PocketMine-MP.phar/src/pocketmine/)

Loaded Plugins

  • Show

Server Settings

  • Show