menu
#5038439 Call to undefined method pocketmine\nbt\tag\StringTag::id()

Submitted by PocketMine-MP 4.0.0+dev

General information

Version: 4.0.0+dev
Git commit: 0c2917f2
Plugin involvement: None
Report date: 2021-07-22 03:34:50 +0000 UTC
Server uptime: 0 days 0 hours 2 minutes 37 seconds

System Information

PHP version: 7.4.16
Operating system: win
System banner: Windows NT SONGKIHO-PC 10.0 build 19042 (Windows 10) AMD64

Error information

Message: Call to undefined method pocketmine\nbt\tag\StringTag::id()
File: pmsrc/src/network/mcpe/protocol/serializer/PacketSerializer
Line: #426
Error level: Error
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
	 *
* @param MetadataProperty[] $metadata
*
* @phpstan-param array<int, MetadataProperty> $metadata
*/
public function putEntityMetadata(array $metadata) : void{
$this->putUnsignedVarInt(count($metadata));
foreach($metadata as $key => $d){
$this->putUnsignedVarInt($key);
$this->putUnsignedVarInt($d::id());
$d->write($this);
}
}

/**
* Reads a list of Attributes from the stream.
* @return Attribute[]
*
* @throws BinaryDataException
*/
#0 pmsrc/src/network/mcpe/protocol/AddItemActorPacket(70): pocketmine\network\mcpe\protocol\serializer\PacketSerializer->putEntityMetadata(array[2])
#1 pmsrc/src/network/mcpe/protocol/DataPacket(97): pocketmine\network\mcpe\protocol\AddItemActorPacket->encodePayload(object pocketmine\network\mcpe\protocol\serializer\PacketSerializer#114796)
#2 pmsrc/src/network/mcpe/protocol/serializer/PacketBatch(71): pocketmine\network\mcpe\protocol\DataPacket->encode(object pocketmine\network\mcpe\protocol\serializer\PacketSerializer#114796)
#3 pmsrc/src/network/mcpe/NetworkSession(433): pocketmine\network\mcpe\protocol\serializer\PacketBatch::fromPackets(object pocketmine\network\mcpe\protocol\RemoveActorPacket#118863, object pocketmine\network\mcpe\protocol\AddItemActorPacket#93484)
#4 pmsrc/src/network/mcpe/NetworkSession(1040): pocketmine\network\mcpe\NetworkSession->flushSendBuffer()
#5 pmsrc/src/network/NetworkSessionManager(76): pocketmine\network\mcpe\NetworkSession->tick()
#6 pmsrc/src/network/Network(91): pocketmine\network\NetworkSessionManager->tick()
#7 pmsrc/src/Server(1703): pocketmine\network\Network->tick()
#8 pmsrc/src/Server(1595): pocketmine\Server->tick()
#9 pmsrc/src/Server(1148): pocketmine\Server->tickProcessor()
#10 pmsrc/src/PocketMine(277): pocketmine\Server->__construct(object BaseClassLoader#2, object pocketmine\utils\MainLogger#3, string[34] C:\Users\.........\Desktop\Athena\, string[42] C:\Users\.........\Desktop\Athena\plugins\)
#11 pmsrc/src/PocketMine(300): pocketmine\server()

Loaded Plugins

  • Show

Server Settings

  • Show

Installed Composer Dependencies