- Revert a change in GameSimulator to make it work and prevent tests from failing (may require further attention later).

This commit is contained in:
Agetian
2018-04-20 23:02:38 +03:00
parent f342fe3351
commit 2f8fd5c359

View File

@@ -153,11 +153,7 @@ public class GameSimulator {
SpellAbility sa;
if (origSa instanceof SpellAbilityPicker.PlayLandAbility) {
Card hostCard = (Card) copier.find(origSa.getHostCard());
origSa.setHostCard(hostCard);
origSa.setActivatingPlayer(aiPlayer);
if (origSa.canPlay()) {
origSa.resolve();
} else {
if (!aiPlayer.playLand(hostCard, false)) {
System.err.println("Simulation: Couldn't play land! " + origSa);
}
sa = origSa;