Skip to content

Commit

Permalink
Add 1.19 biomes.
Browse files Browse the repository at this point in the history
  • Loading branch information
BONNe committed Oct 9, 2022
1 parent cdab410 commit 2e88c91
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<java.version>17</java.version>
<powermock.version>2.0.2</powermock.version>
<!-- More visible way how to change dependency versions -->
<spigot.version>1.18-R0.1-SNAPSHOT</spigot.version>
<spigot.version>1.19-R0.1-SNAPSHOT</spigot.version>
<bentobox.version>1.20.0</bentobox.version>
<bank.version>1.4.0</bank.version>
<level.version>2.5.0</level.version>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/world/bentobox/biomes/BiomesPladdon.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* @author tastybento
*/
@Plugin(name = "Pladdon", version = "1.0")
@ApiVersion(ApiVersion.Target.v1_17)
@ApiVersion(ApiVersion.Target.v1_19)
@Dependency(value = "BentoBox")
public class BiomesPladdon extends Pladdon
{
Expand Down
4 changes: 3 additions & 1 deletion src/main/java/world/bentobox/biomes/utils/Utils.java
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,7 @@ public static boolean isTemperateBiome(Biome biome)
OLD_GROWTH_BIRCH_FOREST,
DARK_FOREST,
SWAMP,
MANGROVE_SWAMP,
JUNGLE,
SPARSE_JUNGLE,
BAMBOO_JUNGLE,
Expand Down Expand Up @@ -501,7 +502,8 @@ public static boolean isCaveBiome(Biome biome)
return switch (biome)
{
case LUSH_CAVES,
DRIPSTONE_CAVES -> true;
DRIPSTONE_CAVES,
DEEP_DARK -> true;
default -> false;
};
}
Expand Down

0 comments on commit 2e88c91

Please sign in to comment.