Skip to content

Commit

Permalink
Update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
diamond-gold committed Oct 9, 2023
1 parent 43e90ef commit 6f7b420
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/diamondgold/DummyItemsBlocks/Main.php
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,6 @@ public static function registerSpecialBlocks(array &$blocks): void
BlockStateRegistration::Campfire($id);
}
}
// Bamboo stuff obsolete when merged: https://github.com/pmmp/PocketMine-MP/pull/5875
$id = BlockTypeNames::BAMBOO_BUTTON;
if (Utils::removeIfPresent($id, $blocks)) {
BlockStateRegistration::button($id); // registered as stone button so that WoodType is not required
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,7 @@ public static function wall(string $id): void
);
}

// obsolete in 5.7
public static function AmethystAnyFacing(string $id): void
{
$block = new AmethystAnyFacing(new BlockIdentifier(BlockTypeIds::newId()), Utils::generateNameFromId($id), new BlockTypeInfo(BlockBreakInfo::instant()));
Expand Down Expand Up @@ -403,7 +404,7 @@ public static function CherrySapling(): void
);
}

// obsolete when merged https://github.com/pmmp/PocketMine-MP/pull/5827
// obsolete in 5.7
public static function ChiseledBookshelf(): void
{
$id = BlockTypeNames::CHISELED_BOOKSHELF;
Expand Down Expand Up @@ -622,6 +623,7 @@ public static function Piston(string $id): void
);
}

// obsolete in 5.7
public static function PitcherCrop(): void
{
$id = BlockTypeNames::PITCHER_CROP;
Expand All @@ -640,6 +642,7 @@ public static function PitcherCrop(): void
);
}

// obsolete in 5.7
public static function PitcherPlant(): void
{
$id = BlockTypeNames::PITCHER_PLANT;
Expand Down Expand Up @@ -807,6 +810,7 @@ public static function SnifferEgg(): void
);
}

// obsolete when merged https://github.com/pmmp/PocketMine-MP/pull/6045
public static function StructureBlock(): void
{
$id = BlockTypeNames::STRUCTURE_BLOCK;
Expand All @@ -831,6 +835,7 @@ public static function StructureBlock(): void
);
}

// obsolete when merged https://github.com/pmmp/PocketMine-MP/pull/6045
public static function StructureVoid(): void
{
$id = BlockTypeNames::STRUCTURE_VOID;
Expand Down Expand Up @@ -874,6 +879,7 @@ public static function SuspiciousFallable(string $id): void
);
}

// obsolete in 5.7
public static function TorchflowerCrop(): void
{
$id = BlockTypeNames::TORCHFLOWER_CROP;
Expand Down

0 comments on commit 6f7b420

Please sign in to comment.