From ea5df5f3ab9727d96e694105f97a9d9412562d0c Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Wed, 2 Dec 2020 18:12:09 -0500 Subject: [PATCH] v0.9.1: fixed crashes with Swiftthistle --- .../shatteredpixeldungeon/plants/Swiftthistle.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/plants/Swiftthistle.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/plants/Swiftthistle.java index 8c7f56265..f8f62b9bf 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/plants/Swiftthistle.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/plants/Swiftthistle.java @@ -101,7 +101,7 @@ public class Swiftthistle extends Plant { left -= time; //use 1/1,000 to account for rounding errors - while (left < -0.001f){ + if (left < -0.001f){ detach(); }