fixed a test failure

This commit is contained in:
Evan Kranzler 2021-08-23 19:27:27 -04:00
parent 85dfa58e5d
commit 002a7af6d0

View file

@ -74,7 +74,8 @@ public class PhaseOutTargetEffect extends OneShotEffect {
sb.append("Target ").append(mode.getTargets().get(0).getTargetName());
}
sb.append(" phase");
if (mode.getTargets().get(0).getMaxNumberOfTargets() <= 1) {
if (mode.getTargets().isEmpty()
|| mode.getTargets().get(0).getMaxNumberOfTargets() <= 1) {
sb.append('s');
}
sb.append(" out");