From 6f7b4206ae7fcde9d20457de59831a35fb5f34de Mon Sep 17 00:00:00 2001 From: ace Date: Mon, 9 Oct 2023 22:54:26 +0800 Subject: [PATCH] Update comments --- src/diamondgold/DummyItemsBlocks/Main.php | 1 - .../DummyItemsBlocks/util/BlockStateRegistration.php | 8 +++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/diamondgold/DummyItemsBlocks/Main.php b/src/diamondgold/DummyItemsBlocks/Main.php index ac04651..3d79227 100644 --- a/src/diamondgold/DummyItemsBlocks/Main.php +++ b/src/diamondgold/DummyItemsBlocks/Main.php @@ -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 diff --git a/src/diamondgold/DummyItemsBlocks/util/BlockStateRegistration.php b/src/diamondgold/DummyItemsBlocks/util/BlockStateRegistration.php index 469fcd4..8bb1244 100644 --- a/src/diamondgold/DummyItemsBlocks/util/BlockStateRegistration.php +++ b/src/diamondgold/DummyItemsBlocks/util/BlockStateRegistration.php @@ -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())); @@ -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; @@ -622,6 +623,7 @@ public static function Piston(string $id): void ); } + // obsolete in 5.7 public static function PitcherCrop(): void { $id = BlockTypeNames::PITCHER_CROP; @@ -640,6 +642,7 @@ public static function PitcherCrop(): void ); } + // obsolete in 5.7 public static function PitcherPlant(): void { $id = BlockTypeNames::PITCHER_PLANT; @@ -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; @@ -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; @@ -874,6 +879,7 @@ public static function SuspiciousFallable(string $id): void ); } + // obsolete in 5.7 public static function TorchflowerCrop(): void { $id = BlockTypeNames::TORCHFLOWER_CROP;