v0.9.1: fixed crashes with Swiftthistle
This commit is contained in:
+1
-1
@@ -101,7 +101,7 @@ public class Swiftthistle extends Plant {
|
|||||||
left -= time;
|
left -= time;
|
||||||
|
|
||||||
//use 1/1,000 to account for rounding errors
|
//use 1/1,000 to account for rounding errors
|
||||||
while (left < -0.001f){
|
if (left < -0.001f){
|
||||||
detach();
|
detach();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user