menu
#4874075 Declaration of MagmaNetwork\SkyBlock\etc\beacons\InventoryTransactionPacket::decodePayload() must be compatible with pocketmine\network\mcpe\protocol\InventoryTransactionPacket::decodePayload(): void

Submitted by PocketMine-MP 3.19.0

General information

Version: 3.19.0
Git commit: b307cd0a
Plugin involvement: Direct
Report date: 2021-04-08 06:23:56 +0000 UTC
Server uptime: 0 days 0 hours 0 minutes 0 seconds

System Information

PHP version: 7.3.16
Operating system: linux
System banner: Linux MagmaNetwork 5.4.0-65-generic #73-Ubuntu SMP Mon Jan 18 17:25:17 UTC 2021 x86_64

Error information

Warning: a plugin was directly involved in this crash. Please contact the plugin author.
Message: Declaration of MagmaNetwork\SkyBlock\etc\beacons\InventoryTransactionPacket::decodePayload() must be compatible with pocketmine\network\mcpe\protocol\InventoryTransactionPacket::decodePayload(): void
File: plugins/SkyBlock/src/MagmaNetwork/SkyBlock/etc/beacons/InventoryTransactionPacket
Line: #74
Error level: E_COMPILE_ERROR
65
66
67
68
69
70
71
72
73
74
				$this->trData->actionType = $this->getUnsignedVarInt();
$this->trData->hotbarSlot = $this->getVarInt();
$this->trData->itemInHand = $this->getSlot();
$this->trData->headPos = $this->getVector3();
break;
default:
throw new \UnexpectedValueException("Unknown transaction type $this->transactionType");
}
}
}

Loaded Plugins

  • Show

Server Settings

  • Show