-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
None
-
None
-
1.20.4
-
Yes
Hi, I was looking at CraftBukkit patches and found some redundant code
BlockSapling.treeType = (this == Blocks.BROWN_MUSHROOM) ? TreeType.BROWN_MUSHROOM : TreeType.BROWN_MUSHROOM; // CraftBukkit
It could simply be
BlockSapling.treeType = TreeType.BROWN_MUSHROOM; // CraftBukkit