update pocketmine/math dependency

This commit is contained in:
Dylan K. Taylor
2020-06-19 11:33:10 +01:00
parent fb4a99a0ef
commit 954e8e6e6f
3 changed files with 6 additions and 6 deletions

View File

@@ -87,7 +87,7 @@ class UseItemTransactionData extends TransactionData{
protected function decodeData(PacketSerializer $stream) : void{
$this->actionType = $stream->getUnsignedVarInt();
$this->blockPos = new Vector3();
$this->blockPos = new Vector3(0, 0, 0);
$stream->getBlockPosition($this->blockPos->x, $this->blockPos->y, $this->blockPos->z);
$this->face = $stream->getVarInt();
$this->hotbarSlot = $stream->getVarInt();