forked from External/mage
Add Event to the signature of updateZoneChangeCounter.
This is required to Implement Skullbriar, the Walking Grave
This commit is contained in:
parent
d53f751711
commit
cdff9bae78
10 changed files with 26 additions and 20 deletions
|
|
@ -42,6 +42,7 @@ import mage.cards.Card;
|
|||
import mage.cards.FrameStyle;
|
||||
import mage.constants.CardType;
|
||||
import mage.game.Game;
|
||||
import mage.game.events.ZoneChangeEvent;
|
||||
import mage.util.GameLog;
|
||||
|
||||
public class Commander implements CommandObject {
|
||||
|
|
@ -214,8 +215,8 @@ public class Commander implements CommandObject {
|
|||
}
|
||||
|
||||
@Override
|
||||
public void updateZoneChangeCounter(Game game) {
|
||||
card.updateZoneChangeCounter(game);
|
||||
public void updateZoneChangeCounter(Game game, ZoneChangeEvent event) {
|
||||
card.updateZoneChangeCounter(game, event);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue