From 5f7521027e4d57fff612c8564dbeb352ae27f5fc Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Fri, 24 Jun 2022 23:24:03 +0100 Subject: [PATCH] FlowerPot: remove usage of legacy variant --- src/block/FlowerPot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/block/FlowerPot.php b/src/block/FlowerPot.php index fd25284cd..e4dc03fb2 100644 --- a/src/block/FlowerPot.php +++ b/src/block/FlowerPot.php @@ -83,7 +83,7 @@ class FlowerPot extends Flowable{ $block instanceof Flower || $block instanceof RedMushroom || $block instanceof Sapling || - ($block instanceof TallGrass && $block->getIdInfo()->getLegacyVariant() === BlockLegacyMetadata::TALLGRASS_FERN); //TODO: clean up + ($block instanceof TallGrass && $block->getTypeId() === BlockTypeIds::LARGE_FERN); //TODO: bamboo }