forked from External/mage
changed enum comparison to ==.
isDependentTo returns empty set rather than null
This commit is contained in:
parent
297203dab5
commit
972ed6a3f2
61 changed files with 159 additions and 195 deletions
|
|
@ -81,7 +81,7 @@ public class DontUntapInControllersUntapStepTargetEffect extends ContinuousRuleM
|
|||
|
||||
@Override
|
||||
public boolean applies(GameEvent event, Ability source, Game game) {
|
||||
if (PhaseStep.UNTAP.equals(game.getTurn().getStepType())) {
|
||||
if (game.getTurn().getStepType() == PhaseStep.UNTAP) {
|
||||
for (UUID targetId : targetPointer.getTargets(game, source)) {
|
||||
if (event.getTargetId().equals(targetId)) {
|
||||
Permanent permanent = game.getPermanent(targetId);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue