mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00: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();
|
||||
if (targetDescription == null || targetDescription.length() > 0) {
|
||||
if (targetDescription != null && targetDescription.length() > 0) {
|
||||
sb.append(targetDescription);
|
||||
} else {
|
||||
sb.append("Target ").append(mode.getTargets().get(0).getTargetName());
|
||||
|
|
Loading…
Reference in a new issue