Skip to content

Commit

Permalink
Use new selector method instead of lambda
Browse files Browse the repository at this point in the history
  • Loading branch information
Sollace committed Feb 14, 2025
1 parent 35f2e61 commit 7761ad6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ private static void registerTilledPatch(String id, CannabisPlantBlock crop, bool
BiomeSelector.COLD
.or(BiomeSelectors.tag(BiomeTags.IS_HILL))
.or(BiomeSelectors.tag(BiomeTags.IS_FOREST))
.or(ctx -> ctx.getBiomeKey() == BiomeKeys.PLAINS)
.or(BiomeSelectors.includeByKey(BiomeKeys.PLAINS))
)),
GenerationStep.Feature.VEGETAL_DECORATION,
placement
Expand Down

0 comments on commit 7761ad6

Please sign in to comment.