Skip to content

Commit

Permalink
do underwater check
Browse files Browse the repository at this point in the history
  • Loading branch information
LizIsTired committed Mar 17, 2022
1 parent b32f492 commit 9f48759
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ public static boolean shouldParticlesSpawn(MinecraftClient client, CaveDustConfi
|| client.isPaused()
|| client.world == null
|| !client.world.getDimension().isBedWorking()
|| Objects.requireNonNull(client.player).isSubmergedInWater()
|| client.world.getBiome(Objects.requireNonNull(client.player).getBlockPos()).matchesKey(LUSH_CAVES))
{
timer = 0;
Expand Down

0 comments on commit 9f48759

Please sign in to comment.