menu
#4873741 Call to undefined method pocketmine\item\ItemBlock::write()

Submitted by PocketMine-MP 3.19.0

General information

Version: 3.19.0
Git commit: b307cd0a
Plugin involvement: Indirect
Report date: 2021-04-07 21:48:04 +0000 UTC
Server uptime: 0 days 0 hours 2 minutes 33 seconds

System Information

PHP version: 7.3.23
Operating system: linux
System banner: Linux abe0b349-c879-4461-88a8-526d0d9d586e 4.15.0-136-generic #140-Ubuntu SMP Thu Jan 28 05:20:47 UTC 2021 x86_64

Error information

Warning: the TableSpoon 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 undefined method pocketmine\item\ItemBlock::write()
File: pmsrc/src/pocketmine/network/mcpe/protocol/MobArmorEquipmentPacket
Line: #58
Error level: Error
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
		$this->entityRuntimeId = $this->getEntityRuntimeId();
$this->head = ItemStackWrapper::read($this);
$this->chest = ItemStackWrapper::read($this);
$this->legs = ItemStackWrapper::read($this);
$this->feet = ItemStackWrapper::read($this);
}

protected function encodePayload(){
$this->putEntityRuntimeId($this->entityRuntimeId);
$this->head->write($this);
$this->chest->write($this);
$this->legs->write($this);
$this->feet->write($this);
}

public function handle(NetworkSession $session) : bool{
return $session->handleMobArmorEquipment($this);
}
}
#0 pmsrc/src/pocketmine/network/mcpe/protocol/DataPacket(127): pocketmine\network\mcpe\protocol\MobArmorEquipmentPacket->encodePayload()
#1 pmsrc/src/pocketmine/network/mcpe/RakLibInterface(244): pocketmine\network\mcpe\protocol\DataPacket->encode()
#2 pmsrc/src/pocketmine/Player(3359): pocketmine\network\mcpe\RakLibInterface->putPacket(object pocketmine\Player, object pocketmine\network\mcpe\protocol\MobArmorEquipmentPacket, boolean , boolean )
#3 pmsrc/src/pocketmine/Player(3376): pocketmine\Player->sendDataPacket(object pocketmine\network\mcpe\protocol\MobArmorEquipmentPacket, boolean , boolean )
#4 plugins/TableSpoon_v0.0.8-ALPHA.phar/src/Xenophilicy/TableSpoon/entity/object/ArmorStand(295): pocketmine\Player->dataPacket(object pocketmine\network\mcpe\protocol\MobArmorEquipmentPacket)
#5 plugins/TableSpoon_v0.0.8-ALPHA.phar/src/Xenophilicy/TableSpoon/entity/object/ArmorStand(311): Xenophilicy\TableSpoon\entity\object\ArmorStand->sendArmorItems(object pocketmine\Player)
#6 pmsrc/src/pocketmine/Player(1028): Xenophilicy\TableSpoon\entity\object\ArmorStand->spawnTo(object pocketmine\Player)
#7 pmsrc/src/pocketmine/level/Level(2490): pocketmine\Player->sendChunk(integer 0, integer 0, object pocketmine\network\mcpe\protocol\BatchPacket)
#8 pmsrc/src/pocketmine/level/Level(2545): pocketmine\level\Level->sendChunkFromCache(integer 0, integer 0)
#9 pmsrc/src/pocketmine/level/format/io/ChunkRequestTask(81): pocketmine\level\Level->chunkRequestCallback(integer 0, integer 0, object pocketmine\network\mcpe\protocol\BatchPacket)
#10 pmsrc/src/pocketmine/scheduler/AsyncPool(319): pocketmine\level\format\io\ChunkRequestTask->onCompletion(object pocketmine\Server)
#11 pmsrc/src/pocketmine/Server(2393): pocketmine\scheduler\AsyncPool->collectTasks()
#12 pmsrc/src/pocketmine/Server(2152): pocketmine\Server->tick()
#13 pmsrc/src/pocketmine/Server(1992): pocketmine\Server->tickProcessor()
#14 pmsrc/src/pocketmine/Server(1586): pocketmine\Server->start()
#15 pmsrc/src/pocketmine/PocketMine(291): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /home/container/, string[24] /home/container/plugins/)
#16 pmsrc/src/pocketmine/PocketMine(321): pocketmine\server()
#17 pmsrc(11): require(string[71] phar:///home/container/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show