Skip to content

Commit

Permalink
Fix slate weathering
Browse files Browse the repository at this point in the history
  • Loading branch information
Robotgiggle committed Feb 28, 2025
1 parent 18a07c2 commit 7e07426
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 @@ default float getDegradationChanceMultiplier() {
}

default boolean shouldTryWeather(World world, BlockPos pos) {
float chance = world.isSkyVisible(pos) ? 0.5F : 0.0F;
float chance = world.isSkyVisible(pos.up()) ? 0.5F : 0.0F;
if (world.isRaining() && world.getBiome(pos).value().getPrecipitation(pos) != Biome.Precipitation.NONE) {
chance += 0.5;
}
Expand Down

0 comments on commit 7e07426

Please sign in to comment.