Skip to content

Commit

Permalink
Add 1.17 and 1.19 trees to the twerking.
Browse files Browse the repository at this point in the history
  • Loading branch information
BONNe committed Oct 3, 2022
1 parent 2caf644 commit ed44237
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
<java.version>1.8</java.version>
<powermock.version>2.0.4</powermock.version>
<!-- More visible way how to change dependency versions -->
<spigot.version>1.16.1-R0.1-SNAPSHOT</spigot.version>
<spigot.version>1.19.1-R0.1-SNAPSHOT</spigot.version>
<bentobox.version>1.14.0-SNAPSHOT</bentobox.version>
<!-- Revision variable removes warning about dynamic version -->
<revision>${build.version}-SNAPSHOT</revision>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ public class TreeGrowListener implements Listener {
conv.put(Material.JUNGLE_SAPLING, TreeType.SMALL_JUNGLE);
conv.put(Material.OAK_SAPLING, TreeType.TREE);
conv.put(Material.SPRUCE_SAPLING, TreeType.REDWOOD);
conv.put(Material.AZALEA, TreeType.AZALEA);
conv.put(Material.FLOWERING_AZALEA, TreeType.AZALEA);
conv.put(Material.MANGROVE_PROPAGULE, TreeType.MANGROVE);
SAPLING_TO_TREE_TYPE = Collections.unmodifiableMap(conv);
}
private static final Map<Material, TreeType> SAPLING_TO_BIG_TREE_TYPE;
Expand Down

0 comments on commit ed44237

Please sign in to comment.