• Type: Bug
    • Resolution: Fixed
    • Priority: Minor
    • None
    • Affects Version/s: 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

      https://hub.spigotmc.org/stash/projects/SPIGOT/repos/craftbukkit/browse/nms-patches/net/minecraft/world/level/block/BlockMushroom.patch#27

            Assignee:
            Unassigned
            Reporter:
            Ryan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: