Add Event to the signature of updateZoneChangeCounter.

This is required to Implement Skullbriar, the Walking Grave
This commit is contained in:
Samuel Sandeen 2016-09-10 17:45:26 -04:00
parent d53f751711
commit cdff9bae78
10 changed files with 26 additions and 20 deletions

View file

@ -42,6 +42,7 @@ import mage.abilities.mana.ManaAbility;
import mage.cards.FrameStyle;
import mage.constants.CardType;
import mage.game.Game;
import mage.game.events.ZoneChangeEvent;
import mage.util.CardUtil;
import mage.util.GameLog;
@ -287,7 +288,7 @@ public abstract class MageObjectImpl implements MageObject {
}
@Override
public void updateZoneChangeCounter(Game game) {
public void updateZoneChangeCounter(Game game, ZoneChangeEvent event) {
game.getState().updateZoneChangeCounter(objectId);
}