diff --git a/Mage.Sets/src/mage/sets/scarsofmirrodin/RustTick.java b/Mage.Sets/src/mage/sets/scarsofmirrodin/RustTick.java index 5518a09f75..429c909851 100644 --- a/Mage.Sets/src/mage/sets/scarsofmirrodin/RustTick.java +++ b/Mage.Sets/src/mage/sets/scarsofmirrodin/RustTick.java @@ -96,11 +96,11 @@ class RustTickTapTargetEffect extends TapTargetEffect { @Override public boolean apply(Game game, Ability source) { Permanent rustTick = game.getPermanent(source.getSourceId()); - if (rustTick != null) rustTick.clearConnectedCards("HisokasGuard"); + if (rustTick != null) rustTick.clearConnectedCards("RustTick"); for (UUID target : targetPointer.getTargets(game, source)) { Permanent permanent = game.getPermanent(target); if (permanent != null) { - rustTick.addConnectedCard("HisokasGuard", permanent.getId()); + rustTick.addConnectedCard("RustTick", permanent.getId()); permanent.tap(game); } else { return false; @@ -135,8 +135,8 @@ class RustTickRestrictionEffect extends RestrictionEffect 0) { - UUID target = rustTick.getConnectedCards("HisokasGuard").get(0); + if (rustTick.getConnectedCards("RustTick").size() > 0) { + UUID target = rustTick.getConnectedCards("RustTick").get(0); if (target != null && target.equals(permanent.getId())) { return true; }