v0.9.1: fixed crashes with Swiftthistle
This commit is contained in:
parent
74679f153e
commit
ea5df5f3ab
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user