diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/plants/Earthroot.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/plants/Earthroot.java index 42367caa5..93caf5dfd 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/plants/Earthroot.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/plants/Earthroot.java @@ -112,10 +112,12 @@ public class Earthroot extends Plant { } public void level( int value ) { - if (level < value) { - level = value; + if (target != null) { + if (level < value) { + level = value; + } + pos = target.pos; } - pos = target.pos; } @Override