mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-20 16:00:20 +00:00
FlowerPot: remove usage of legacy variant
This commit is contained in:
parent
f24f2d9ca9
commit
5f7521027e
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user