Skip to content

Commit

Permalink
Update WaterFluidMixin.java
Browse files Browse the repository at this point in the history
  • Loading branch information
doctor4t committed Sep 14, 2022
1 parent 237e92e commit 9016afe
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/main/java/ladysnake/effective/mixin/WaterFluidMixin.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,7 @@ private static boolean shouldSplash(World world, BlockPos pos) {
private static boolean shouldRipple(World world, BlockPos pos) {
if (EffectiveConfig.rainRippleDensity > 0) {
FluidState fluidState = world.getFluidState(pos);
if (fluidState.isStill() && world.isRaining() && world.getBlockState(pos.add(0, 1, 0)).isAir()) {
return true;
}
return fluidState.isStill() && world.isRaining() && world.getBlockState(pos.add(0, 1, 0)).isAir();
}
return false;
}
Expand Down

0 comments on commit 9016afe

Please sign in to comment.