Skip to content

Commit

Permalink
Fix Compile Error on Fabric
Browse files Browse the repository at this point in the history
Signed-off-by: Joseph T. McQuigg <[email protected]>
  • Loading branch information
JT122406 committed Nov 17, 2024
1 parent c72a2cb commit 5313110
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ private void performBonemeal(ServerLevel level, RandomSource random, BlockPos po
if (level.getBiome(pos).is(BWGBiomes.PRAIRIE))
cancel = BoneMealHandler.grassBoneMealHandler(level, pos.above(), BWGBlocks.PRAIRIE_GRASS.get(), BWGOverworldVegationPlacedFeatures.PRAIRIE_GRASS_BONEMEAL, false);
else if (level.getBiome(pos).is(BWGBiomes.ALLIUM_SHRUBLAND))
cancel = BoneMealHandler.grassBoneMealHandler(level, pos.above(), Blocks.SHORT_GRASS, VegetationPlacements.GRASS_BONEMEAL, true);
cancel = BoneMealHandler.grassBoneMealHandler(level, pos.above(), Blocks.GRASS, VegetationPlacements.GRASS_BONEMEAL, true);
if (cancel)
ci.cancel();
}
Expand Down

0 comments on commit 5313110

Please sign in to comment.