forked from External/mage
Remove explicit set of required property in constructor
This commit is contained in:
parent
250909a464
commit
0a0983d7e9
2272 changed files with 2454 additions and 2538 deletions
|
|
@ -86,7 +86,7 @@ public class CipherEffect extends OneShotEffect {
|
|||
@Override
|
||||
public boolean apply(Game game, Ability source) {
|
||||
Player controller = game.getPlayer(source.getControllerId());
|
||||
TargetControlledCreaturePermanent target = new TargetControlledCreaturePermanent(true);
|
||||
TargetControlledCreaturePermanent target = new TargetControlledCreaturePermanent();
|
||||
if (controller != null) {
|
||||
if (target.canChoose(source.getControllerId(), game)
|
||||
&& controller.chooseUse(outcome, "Cipher this spell to a creature?", game)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue