fix for 1.18.2

This commit is contained in:
Liz Graham
2022-03-17 22:04:00 +00:00
parent 6e632fd070
commit b32f492afc

View File

@@ -47,7 +47,7 @@ public class MathHelper {
|| client.isPaused()
|| client.world == null
|| !client.world.getDimension().isBedWorking()
|| Objects.equals(client.world.getBiomeKey(Objects.requireNonNull(client.player).getBlockPos()), Optional.of(LUSH_CAVES)))
|| client.world.getBiome(Objects.requireNonNull(client.player).getBlockPos()).matchesKey(LUSH_CAVES))
{
timer = 0;
shouldParticlesSpawn = false;