Skip to content

Commit

Permalink
fix second bug
Browse files Browse the repository at this point in the history
  • Loading branch information
chochem committed Apr 17, 2023
1 parent 677648b commit 099bcf5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ private float calculateInsideRate() {
}

private float calculateSnowingOrRainingRate() {
if (!world.isRaining()) return ONE;
if (!world.isRaining() || getIsInside()) return ONE;
return world.getBiomeGenForCoords(x, z).getEnableSnow() ? SNOW_RATE : RAIN_RATE;
}

Expand Down

0 comments on commit 099bcf5

Please sign in to comment.