menu
#5777564 pocketmine\network\mcpe\protocol\UpdateBlockPacket::create(): Argument #1 ($blockPosition) must be of type pocketmine\network\mcpe\protocol\types\BlockPosition, int given, called in phar://E:/save-1/BadTiger-Save/Lobby/plugins/BADCOOOOR.phar/src/muqsit/invmenu/type/graphic/BlockInvMenuGraphic.php on line 34

Submitted by PocketMine-MP 4.0.5

General information

Version: 4.0.5
Git commit: e7d17eb4
Plugin involvement: Indirect
Report date: 2022-01-14 23:56:51 +0000 UTC
Server uptime: 0 days 0 hours 0 minutes 53 seconds

System Information

PHP version: 8.0.13
Operating system: win
System banner: Windows NT DESKTOP-88G4Q80 10.0 build 19042 (Windows 10) AMD64

Error information

Warning: the BetaGames plugin was indirectly involved in this crash. This may be a false positive. Please contact the plugin author before opening a bug ticket.
Message: pocketmine\network\mcpe\protocol\UpdateBlockPacket::create(): Argument #1 ($blockPosition) must be of type pocketmine\network\mcpe\protocol\types\BlockPosition, int given, called in phar://E:/save-1/BadTiger-Save/Lobby/plugins/BADCOOOOR.phar/src/muqsit/invmenu/type/graphic/BlockInvMenuGraphic.php on line 34
File: pmsrc/vendor/pocketmine/bedrock-protocol/src/UpdateBlockPacket
Line: #54
Error level: TypeError
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
	 * Flags are used by MCPE internally for block setting, but only flag 2 (network flag) is relevant for network.
* This field is pointless really.
*/
public int $flags = self::FLAG_NETWORK;
public int $dataLayerId = self::DATA_LAYER_NORMAL;

/**
* @generate-create-func
*/
public static function create(BlockPosition $blockPosition, int $blockRuntimeId, int $flags, int $dataLayerId) : self{
$result = new self;
$result->blockPosition = $blockPosition;
$result->blockRuntimeId = $blockRuntimeId;
$result->flags = $flags;
$result->dataLayerId = $dataLayerId;
return $result;
}

protected function decodePayload(PacketSerializer $in) : void{
$this->blockPosition = $in->getBlockPosition();
#0 plugins/BADCOOOOR.phar/src/muqsit/invmenu/type/graphic/BlockInvMenuGraphic(34): pocketmine\network\mcpe\protocol\UpdateBlockPacket::create(integer 134, integer 172, integer -109, integer 1125)
#1 plugins/BADCOOOOR.phar/src/muqsit/invmenu/type/graphic/BlockActorInvMenuGraphic(45): muqsit\invmenu\type\graphic\BlockInvMenuGraphic->send(object pocketmine\player\Player#25551, NULL )
#2 plugins/BADCOOOOR.phar/src/muqsit/invmenu/InvMenu(119): muqsit\invmenu\type\graphic\BlockActorInvMenuGraphic->send(object pocketmine\player\Player#25551, NULL )
#3 plugins/BADCOOOOR.phar/src/muqsit/invmenu/session/network/PlayerNetwork(89): muqsit\invmenu\InvMenu->muqsit\invmenu\{closure}(true)
#4 plugins/BADCOOOOR.phar/src/muqsit/invmenu/session/network/PlayerNetwork(114): muqsit\invmenu\session\network\PlayerNetwork->muqsit\invmenu\session\network\{closure}(true)
#5 plugins/BADCOOOOR.phar/src/muqsit/invmenu/session/network/PlayerNetwork(124): muqsit\invmenu\session\network\PlayerNetwork->processCurrent(true)
#6 plugins/BADCOOOOR.phar/src/muqsit/invmenu/InvMenuEventHandler(34): muqsit\invmenu\session\network\PlayerNetwork->notify(integer 776984744000)
#7 pmsrc/src/event/RegisteredListener(75): muqsit\invmenu\InvMenuEventHandler->onDataPacketReceive(object pocketmine\event\server\DataPacketReceiveEvent#25290)
#8 pmsrc/src/event/Event(62): pocketmine\event\RegisteredListener->callEvent(object pocketmine\event\server\DataPacketReceiveEvent#25290)
#9 pmsrc/src/network/mcpe/NetworkSession(394): pocketmine\event\Event->call()
#10 pmsrc/src/network/mcpe/NetworkSession(358): pocketmine\network\mcpe\NetworkSession->handleDataPacket(object pocketmine\network\mcpe\protocol\NetworkStackLatencyPacket#95479, string[10] [email protected])
#11 pmsrc/src/network/mcpe/raklib/RakLibInterface(192): pocketmine\network\mcpe\NetworkSession->handleEncoded(string[13] .*v.x.|....#.)
#12 pmsrc/vendor/pocketmine/raklib-ipc/src/RakLibToUserThreadMessageReceiver(42): pocketmine\network\mcpe\raklib\RakLibInterface->onPacketReceive(integer 0, string[22] .0r../.`.HVU.....9..r.)
#13 pmsrc/src/network/mcpe/raklib/RakLibInterface(122): raklib\server\ipc\RakLibToUserThreadMessageReceiver->handle(object pocketmine\network\mcpe\raklib\RakLibInterface#23851)
#14 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\raklib\RakLibInterface->pocketmine\network\mcpe\raklib\{closure}()
#15 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(82): pocketmine\snooze\SleeperHandler->processNotifications()
#16 pmsrc/src/Server(1657): pocketmine\snooze\SleeperHandler->sleepUntil(double 1642204611.3607)
#17 pmsrc/src/Server(1044): pocketmine\Server->tickProcessor()
#18 pmsrc/src/PocketMine(303): pocketmine\Server->__construct(object BaseClassLoader#2, object pocketmine\utils\MainLogger#3, string[30] E:\save-1\BadTiger-Save\Lobby\, string[38] E:\save-1\BadTiger-Save\Lobby\plugins\)
#19 pmsrc/src/PocketMine(326): pocketmine\server()
#20 pmsrc(11): require(string[74] phar://E:/save-1/BadTiger-Save/Lobby/PocketMine-MP.phar/src/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed PHP Extensions

  • Show