Skip to content

Commit f42e293

Browse files
committed
Set the maximum sapling count for spruce in TreeLopper to 4. Fixes #1367
1 parent 2428a4b commit f42e293

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

craftbook-bukkit/src/main/java/org/enginehub/craftbook/bukkit/mechanics/BukkitTreeLopper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ public void onBlockBreak(BlockBreakEvent event) {
161161

162162
private static int getMaximumSaplingCount(Material tree) {
163163
return switch (tree) {
164-
case DARK_OAK_SAPLING, JUNGLE_SAPLING, PALE_OAK_SAPLING -> 4;
164+
case DARK_OAK_SAPLING, JUNGLE_SAPLING, PALE_OAK_SAPLING, SPRUCE_SAPLING -> 4;
165165
default -> 1;
166166
};
167167
}

0 commit comments

Comments
 (0)