Fixed bug with empty plan

This commit is contained in:
Brandon Rozek 2023-11-09 17:21:27 -05:00
parent 26254f895a
commit d647b0d37d
No known key found for this signature in database
GPG key ID: 26E457DA82C9F480

View file

@ -95,6 +95,9 @@ public class Plan {
@Override
public String toString() {
if (actions.size() == 0) {
return "";
}
return actions.stream().map(x-> x.toString() + " ").reduce((x,y) -> x + y).get();
}