Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Actually map the trees to the saplings. #537

Merged
merged 5 commits into from
May 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ private static boolean canBeBig(Material mat) {
case ACACIA_SAPLING:
case CHORUS_FLOWER:
case FLOWERING_AZALEA:
case CHERRY_SAPLING:
case MANGROVE_PROPAGULE:
return false;
case DARK_OAK_SAPLING:
case JUNGLE_SAPLING:
Expand Down Expand Up @@ -121,6 +123,10 @@ private static TreeType remapSaplingToTree(Material mat, boolean big) {
return TreeType.ACACIA;
case FLOWERING_AZALEA:
return TreeType.AZALEA;
case CHERRY_SAPLING:
return TreeType.CHERRY;
case MANGROVE_PROPAGULE:
return big ? TreeType.TALL_MANGROVE : TreeType.MANGROVE;
case DARK_OAK_SAPLING:
return big ? TreeType.DARK_OAK : null;
case JUNGLE_SAPLING:
Expand Down
Loading