mirror of
https://github.com/correl/mage.git
synced 2025-03-17 01:06:26 -09:00
PhaseOutTargetEffect: fix "Null phases out"
This commit is contained in:
parent
813c8cdd8a
commit
e6dc8a56e6
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ public class PhaseOutTargetEffect extends OneShotEffect {
|
||||||
}
|
}
|
||||||
|
|
||||||
StringBuilder sb = new StringBuilder();
|
StringBuilder sb = new StringBuilder();
|
||||||
if (targetDescription == null || targetDescription.length() > 0) {
|
if (targetDescription != null && targetDescription.length() > 0) {
|
||||||
sb.append(targetDescription);
|
sb.append(targetDescription);
|
||||||
} else {
|
} else {
|
||||||
sb.append("Target ").append(mode.getTargets().get(0).getTargetName());
|
sb.append("Target ").append(mode.getTargets().get(0).getTargetName());
|
||||||
|
|
Loading…
Add table
Reference in a new issue