From 034f7897c88054f5e0f35e695622ce8bac793ca5 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Wed, 15 Jan 2025 14:19:13 -0500 Subject: [PATCH] v3.0.0: fixed hallowed ground placing grass on plants --- .../actors/hero/spells/HallowedGround.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/spells/HallowedGround.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/spells/HallowedGround.java index 1e3baca62..915ac22e1 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/spells/HallowedGround.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/spells/HallowedGround.java @@ -160,7 +160,7 @@ public class HallowedGround extends TargetedClericSpell { } int c = Dungeon.level.map[cell]; - if (c == Terrain.GRASS) { + if (c == Terrain.GRASS && Dungeon.level.plants.get(c) == null) { if (Random.Int(chance) == 0) { if (!Regeneration.regenOn() || (Dungeon.hero.buff(HallowedFurrowTracker.class) != null && Dungeon.hero.buff(HallowedFurrowTracker.class).count() > 5)){