menu
#4873709 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 20:57:32 +0000 UTC
Server uptime: 0 days 0 hours 2 minutes 5 seconds

System Information

PHP version: 7.3.23
Operating system: linux
System banner: Linux 2acf727c-ba40-42e0-b551-3a89fee22fe7 5.8.0-44-generic #50-Ubuntu SMP Tue Feb 9 06:29:41 UTC 2021 x86_64

Error information

Warning: the OpenAPI 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/AddPlayerPacket
Line: #132
Error level: Error
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
		$this->putString($this->username);
$this->putEntityUniqueId($this->entityUniqueId ?? $this->entityRuntimeId);
$this->putEntityRuntimeId($this->entityRuntimeId);
$this->putString($this->platformChatId);
$this->putVector3($this->position);
$this->putVector3Nullable($this->motion);
($this->buffer .= (\pack("g", $this->pitch)));
($this->buffer .= (\pack("g", $this->yaw)));
($this->buffer .= (\pack("g", $this->headYaw ?? $this->yaw)));
$this->item->write($this);
$this->putEntityMetadata($this->metadata);

$this->putUnsignedVarInt($this->uvarint1);
$this->putUnsignedVarInt($this->uvarint2);
$this->putUnsignedVarInt($this->uvarint3);
$this->putUnsignedVarInt($this->uvarint4);
$this->putUnsignedVarInt($this->uvarint5);

($this->buffer .= (\pack("VV", $this->long1 & 0xFFFFFFFF, $this->long1 >> 32)));

#0 pmsrc/src/pocketmine/network/mcpe/protocol/DataPacket(127): pocketmine\network\mcpe\protocol\AddPlayerPacket->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\AddPlayerPacket, boolean , boolean )
#3 pmsrc/src/pocketmine/Player(3376): pocketmine\Player->sendDataPacket(object pocketmine\network\mcpe\protocol\AddPlayerPacket, boolean , boolean )
#4 plugins/OpenAPI_v1.0.0.phar/src/happybe/openapi/floatingtext/FloatingText(58): pocketmine\Player->dataPacket(object pocketmine\network\mcpe\protocol\AddPlayerPacket)
#5 plugins/LobbyEssentials_v1.0.0.phar/src/happybe/lobbyessentials/utils/FloatingTextSender(33): happybe\openapi\floatingtext\FloatingText->spawnTo(object pocketmine\Player, string[36] ..eThere are ..b1 ..eplayers online!)
#6 plugins/LobbyEssentials_v1.0.0.phar/src/happybe/lobbyessentials/task/ScoreboardRefreshTask(34): happybe\lobbyessentials\LobbyEssentials->updateLobbyFloatingTexts(object pocketmine\Player)
#7 pmsrc/src/pocketmine/scheduler/TaskHandler(137): happybe\lobbyessentials\task\ScoreboardRefreshTask->onRun(integer 2501)
#8 pmsrc/src/pocketmine/scheduler/TaskScheduler(179): pocketmine\scheduler\TaskHandler->run(integer 2501)
#9 pmsrc/src/pocketmine/plugin/PluginManager(654): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 2501)
#10 pmsrc/src/pocketmine/Server(2389): pocketmine\plugin\PluginManager->tickSchedulers(integer 2501)
#11 pmsrc/src/pocketmine/Server(2152): pocketmine\Server->tick()
#12 pmsrc/src/pocketmine/Server(1992): pocketmine\Server->tickProcessor()
#13 pmsrc/src/pocketmine/Server(1586): pocketmine\Server->start()
#14 pmsrc/src/pocketmine/PocketMine(291): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /home/container/, string[24] /home/container/plugins/)
#15 pmsrc/src/pocketmine/PocketMine(321): pocketmine\server()
#16 pmsrc(11): require(string[71] phar:///home/container/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show