Skip to content

Commit

Permalink
Merge branch 'master' of github.com:pmmp/BedrockProtocol
Browse files Browse the repository at this point in the history
  • Loading branch information
dktapps committed Sep 20, 2023
2 parents 93bf272 + 3c6e42e commit a8c038f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/serializer/PacketSerializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -765,7 +765,7 @@ public function getStructureEditorData() : StructureEditorData{

$result->structureBlockType = $this->getVarInt();
$result->structureSettings = $this->getStructureSettings();
$result->structureRedstoneSaveMove = $this->getVarInt();
$result->structureRedstoneSaveMode = $this->getVarInt();

return $result;
}
Expand All @@ -779,7 +779,7 @@ public function putStructureEditorData(StructureEditorData $structureEditorData)

$this->putVarInt($structureEditorData->structureBlockType);
$this->putStructureSettings($structureEditorData->structureSettings);
$this->putVarInt($structureEditorData->structureRedstoneSaveMove);
$this->putVarInt($structureEditorData->structureRedstoneSaveMode);
}

public function getNbtRoot() : TreeRoot{
Expand Down
2 changes: 1 addition & 1 deletion src/types/StructureEditorData.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ class StructureEditorData{
public bool $showBoundingBox;
public int $structureBlockType;
public StructureSettings $structureSettings;
public int $structureRedstoneSaveMove;
public int $structureRedstoneSaveMode;
}

0 comments on commit a8c038f

Please sign in to comment.