diff --git a/Mage.Server.Plugins/Mage.Player.AI/src/main/java/mage/player/ai/ComputerPlayer.java b/Mage.Server.Plugins/Mage.Player.AI/src/main/java/mage/player/ai/ComputerPlayer.java index 358572660f..e0eb3d3540 100644 --- a/Mage.Server.Plugins/Mage.Player.AI/src/main/java/mage/player/ai/ComputerPlayer.java +++ b/Mage.Server.Plugins/Mage.Player.AI/src/main/java/mage/player/ai/ComputerPlayer.java @@ -77,6 +77,7 @@ import mage.filter.FilterPermanent; import mage.game.Game; import mage.game.Table; import mage.game.combat.CombatGroup; +import mage.game.match.Match; import mage.game.permanent.Permanent; import mage.game.tournament.Tournament; import mage.player.ai.utils.RateCard; @@ -795,9 +796,9 @@ public class ComputerPlayer> extends PlayerImpl i } @Override - public void sideboard(Table table, Deck deck) { + public void sideboard(Match match, Deck deck) { //TODO: improve this - table.fireSubmitDeckEvent(playerId, deck); + match.submitDeck(playerId, deck); } @Override