- Formatting fix.

This commit is contained in:
Agetian
2017-01-18 14:24:59 +00:00
parent c1d5e42aa2
commit c46e0e2eb5

View File

@@ -192,15 +192,15 @@ public class WrappedAbility extends Ability {
// key for autoyield - if there is a trigger use its description as the wrapper now has triggering information in its description // key for autoyield - if there is a trigger use its description as the wrapper now has triggering information in its description
@Override @Override
public String yieldKey() { public String yieldKey() {
if ( getTrigger() != null ) { if (getTrigger() != null) {
if ( getHostCard() != null ) { if (getHostCard() != null) {
return getHostCard().toString() + ": " + getTrigger().toString(); return getHostCard().toString() + ": " + getTrigger().toString();
} else { } else {
return getTrigger().toString(); return getTrigger().toString();
} }
} else { } else {
return super.yieldKey(); return super.yieldKey();
} }
} }
// include triggering information so that different effects look different // include triggering information so that different effects look different