Skip to content

Commit

Permalink
remove commented lines
Browse files Browse the repository at this point in the history
  • Loading branch information
rico132 committed Jul 24, 2024
1 parent 60c4bc6 commit c13b9ef
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions src/BlockChunk.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@ public function __construct(int $location, int $offset, int $compressedDataLengt
$this->version = $version;
$this->loadBlockEntities();
$this->loadSections();
// if (VersionHelper::areBlocksSupported($this->version)) {
// }
}

/**
Expand Down
6 changes: 0 additions & 6 deletions src/Versions/v1139/SectionV1139.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,6 @@ public static function newFromTag(CompoundTag $tag, McCoordinates2D $coordinates
$section->tag = $tag;
$section->version = $version;
$section->coordinates = new McCoordinates3D($coordinates->x, $tag->getByte("Y")->getValue(), $coordinates->z);
$paletteTag = $tag->getList($section->paletteTagName);
// if ($paletteTag === null) {
// return null;
// }
// $section->palette = $section->newPaletteFromTag($paletteTag);
// $section->data = $section->newDataFromTag($section, $tag, $section->coordinates->y);
return $section;
}

Expand Down

0 comments on commit c13b9ef

Please sign in to comment.