menu
#4775153 pocketmine\utils\BinaryStream::putLFloat(): Argument #1 ($v) must be of type float, null given, called in phar://D:/PocketMine Develop/4/PocketMine-MP.phar/src/network/mcpe/protocol/PlaySoundPacket.php on line 59

Submitted by PocketMine-MP 4.0.0+dev

General information

Version: 4.0.0+dev
Git commit: 3c8b01d5
Plugin involvement: None
Report date: 2021-02-23 04:25:01 +0000 UTC
Server uptime: 0 days 0 hours 1 minutes 26 seconds

System Information

PHP version: 8.0.3RC1
Operating system: win
System banner: Windows NT ROMO-LAPTOP 10.0 build 19042 (Windows 10) AMD64

Error information

Message: pocketmine\utils\BinaryStream::putLFloat(): Argument #1 ($v) must be of type float, null given, called in phar://D:/PocketMine Develop/4/PocketMine-MP.phar/src/network/mcpe/protocol/PlaySoundPacket.php on line 59
File: pmsrc/vendor/pocketmine/binaryutils/src/BinaryStream
Line: #192
Error level: TypeError
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202

public function getLFloat() : float{
return Binary::readLFloat($this->get(4));
}

public function getRoundedLFloat(int $accuracy) : float{
return Binary::readRoundedLFloat($this->get(4), $accuracy);
}

public function putLFloat(float $v) : void{
$this->buffer .= Binary::writeLFloat($v);
}

public function getDouble() : float{
return Binary::readDouble($this->get(8));
}

public function putDouble(float $v) : void{
$this->buffer .= Binary::writeDouble($v);
}
#0 pmsrc/src/network/mcpe/protocol/PlaySoundPacket(59): pocketmine\utils\BinaryStream->putLFloat(NULL )
#1 pmsrc/src/network/mcpe/protocol/DataPacket(114): pocketmine\network\mcpe\protocol\PlaySoundPacket->encodePayload(object pocketmine\network\mcpe\protocol\serializer\PacketSerializer)
#2 pmsrc/src/network/mcpe/protocol/serializer/PacketBatch(64): pocketmine\network\mcpe\protocol\DataPacket->encode()
#3 pmsrc/src/network/mcpe/NetworkSession(444): pocketmine\network\mcpe\protocol\serializer\PacketBatch::fromPackets(object pocketmine\network\mcpe\protocol\PlaySoundPacket, object pocketmine\network\mcpe\protocol\OnScreenTextureAnimationPacket, object pocketmine\network\mcpe\protocol\SetTitlePacket, object pocketmine\network\mcpe\protocol\SetTitlePacket, object pocketmine\network\mcpe\protocol\TextPacket, object pocketmine\network\mcpe\protocol\LevelEventPacket, object pocketmine\network\mcpe\protocol\UpdateBlockPacket, object pocketmine\network\mcpe\protocol\UpdateAttributesPacket)
#4 pmsrc/src/network/mcpe/NetworkSession(1015): pocketmine\network\mcpe\NetworkSession->flushSendBuffer()
#5 pmsrc/src/network/NetworkSessionManager(101): pocketmine\network\mcpe\NetworkSession->tick()
#6 pmsrc/src/network/Network(91): pocketmine\network\NetworkSessionManager->tick()
#7 pmsrc/src/Server(1641): pocketmine\network\Network->tick()
#8 pmsrc/src/Server(1533): pocketmine\Server->tick()
#9 pmsrc/src/Server(1086): pocketmine\Server->tickProcessor()
#10 pmsrc/src/PocketMine(260): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[24] D:\PocketMine Develop\4\, string[32] D:\PocketMine Develop\4\plugins\)
#11 pmsrc/src/PocketMine(283): pocketmine\server()
#12 pmsrc(11): require(string[68] phar://D:/PocketMine Develop/4/PocketMine-MP.phar/src/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show