diff --git a/Mage/src/main/java/mage/abilities/effects/common/combat/CantAttackBlockUnlessPaysSourceEffect.java b/Mage/src/main/java/mage/abilities/effects/common/combat/CantAttackBlockUnlessPaysSourceEffect.java
index d1dc071f227..60051d3a231 100644
--- a/Mage/src/main/java/mage/abilities/effects/common/combat/CantAttackBlockUnlessPaysSourceEffect.java
+++ b/Mage/src/main/java/mage/abilities/effects/common/combat/CantAttackBlockUnlessPaysSourceEffect.java
@@ -1,4 +1,3 @@
-
package mage.abilities.effects.common.combat;
import mage.abilities.Ability;
@@ -12,22 +11,19 @@ import mage.game.events.GameEvent;
import mage.game.events.GameEvent.EventType;
/**
- *
* @author LevelX2
*/
public class CantAttackBlockUnlessPaysSourceEffect extends PayCostToAttackBlockEffectImpl {
public CantAttackBlockUnlessPaysSourceEffect(Cost cost, RestrictType restrictType) {
super(Duration.WhileOnBattlefield, Outcome.Detriment, restrictType, cost);
- staticText = "{this} can't " + restrictType.toString() + " unless you "
- + cost == null ? "" : cost.getText()
- + (restrictType == RestrictType.ATTACK ? " (This cost is paid as attackers are declared.)" : "");
+ staticText = "{this} can't " + restrictType.toString() + " unless you " + (cost == null ? "" : cost.getText())
+ + (restrictType == RestrictType.ATTACK ? " (This cost is paid as attackers are declared.)" : "");
}
public CantAttackBlockUnlessPaysSourceEffect(ManaCosts manaCosts, RestrictType restrictType) {
super(Duration.WhileOnBattlefield, Outcome.Detriment, RestrictType.ATTACK_AND_BLOCK, manaCosts);
- staticText = "{this} can't " + restrictType.toString() + " unless you pay "
- + manaCosts == null ? "" : manaCosts.getText();
+ staticText = "{this} can't " + restrictType.toString() + " unless you pay " + (manaCosts == null ? "" : manaCosts.getText());
}
public CantAttackBlockUnlessPaysSourceEffect(CantAttackBlockUnlessPaysSourceEffect effect) {