menu
#5038732 Call to undefined method pocketmine\entity\DataPropertyManager::getItem()

Submitted by PocketMine-MP 3.20.0

General information

Version: 3.20.0
Git commit: 99964709
Plugin involvement: Direct
Report date: 2021-07-22 05:45:43 +0000 UTC
Server uptime: 0 days 0 hours 13 minutes 13 seconds

System Information

PHP version: 7.3.23
Operating system: linux
System banner: Linux 5c3fd3f9a686 4.18.0-305.7.1.el8_4.x86_64 #1 SMP Tue Jun 29 21:55:12 UTC 2021 x86_64

Error information

Warning: the Firework plugin was directly involved in this crash. Please contact the plugin author.
Message: Call to undefined method pocketmine\entity\DataPropertyManager::getItem()
File: plugins/Fireworks 3.phar/src/BlockHorizons/Fireworks/entity/FireworksRocket
Line: #72
Error level: Error
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
			$this->doExplosionAnimation();
$this->flagForDespawn();
return true;
}

return false;
}

protected function doExplosionAnimation(): void {
$fireworks = $this->propertyManager->getItem(self::DATA_FIREWORK_ITEM);
if($fireworks === null) {
return;
}

$fireworks_nbt = $fireworks->getNamedTag()->getCompoundTag("Fireworks");
if($fireworks_nbt === null) {
return;
}

$explosions = $fireworks_nbt->getListTag("Explosions");
#0 plugins/Fireworks 3.phar/src/BlockHorizons/Fireworks/entity/FireworksRocket(63): BlockHorizons\Fireworks\entity\FireworksRocket->doExplosionAnimation()
#1 plugins/Fireworks 3.phar/src/BlockHorizons/Fireworks/entity/FireworksRocket(50): BlockHorizons\Fireworks\entity\FireworksRocket->doLifeTimeTick()
#2 pmsrc/src/pocketmine/entity/Entity(1393): BlockHorizons\Fireworks\entity\FireworksRocket->entityBaseTick(integer 1)
#3 pmsrc/src/pocketmine/level/Level(854): pocketmine\entity\Entity->onUpdate(integer 15824)
#4 pmsrc/src/pocketmine/level/Level(787): pocketmine\level\Level->actuallyDoTick(integer 15824)
#5 pmsrc/src/pocketmine/Server(2265): pocketmine\level\Level->doTick(integer 15824)
#6 pmsrc/src/pocketmine/Server(2396): pocketmine\Server->checkTickUpdates(integer 15824, double 1626932743.6178)
#7 pmsrc/src/pocketmine/Server(2152): pocketmine\Server->tick()
#8 pmsrc/src/pocketmine/Server(1992): pocketmine\Server->tickProcessor()
#9 pmsrc/src/pocketmine/Server(1586): pocketmine\Server->start()
#10 pmsrc/src/pocketmine/PocketMine(291): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[10] /srv/data/, string[18] /srv/data/plugins/)
#11 pmsrc/src/pocketmine/PocketMine(321): pocketmine\server()
#12 pmsrc(11): require(string[65] phar:///srv/data/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show