mirror of
https://github.com/magefree/mage.git
synced 2026-01-25 20:59:14 -08:00
fixed for previous commit
This commit is contained in:
parent
0471771451
commit
db30268bc0
3 changed files with 12 additions and 7 deletions
|
|
@ -125,9 +125,10 @@ class GainReboundEffect extends ContinuousEffectImpl<GainReboundEffect> {
|
|||
return false;
|
||||
}
|
||||
|
||||
private class AttachedReboundAbility extends ReboundAbility {}
|
||||
}
|
||||
|
||||
class AttachedReboundAbility extends ReboundAbility {}
|
||||
|
||||
class LeavesBattlefieldWatcher extends WatcherImpl<LeavesBattlefieldWatcher> {
|
||||
|
||||
public LeavesBattlefieldWatcher() {
|
||||
|
|
@ -148,7 +149,7 @@ class LeavesBattlefieldWatcher extends WatcherImpl<LeavesBattlefieldWatcher> {
|
|||
for (Card card : player.getHand().getCards(CastThroughTime.filter, game)) {
|
||||
Iterator<Ability> it = card.getAbilities().iterator();
|
||||
while (it.hasNext()) {
|
||||
if (it.next() instanceof ReboundAbility) {
|
||||
if (it.next() instanceof AttachedReboundAbility) {
|
||||
it.remove();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue