Skip to content

Commit 6db179c

Browse files
committed
Fix LavaClutch.
1 parent 43123a7 commit 6db179c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/baritone/pathing/clutch/clutches/LavaClutch.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public boolean compare(BlockState state) {
4646

4747
@Override
4848
public boolean isPlaceable(CalculationContext context, int x, int y, int z, BlockState block) {
49-
return (!context.considerPotionEffects || context.getBaritone().getPlayerContext().player().hasEffect(MobEffects.FIRE_RESISTANCE)) &&
49+
return (!context.considerPotionEffects || context.activeEffects.containsKey(MobEffects.FIRE_RESISTANCE)) &&
5050
super.isPlaceable(context, x, y, z, block);
5151
}
5252

0 commit comments

Comments
 (0)