mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
- Revert a change in GameSimulator to make it work and prevent tests from failing (may require further attention later).
This commit is contained in:
@@ -153,11 +153,7 @@ public class GameSimulator {
|
|||||||
SpellAbility sa;
|
SpellAbility sa;
|
||||||
if (origSa instanceof SpellAbilityPicker.PlayLandAbility) {
|
if (origSa instanceof SpellAbilityPicker.PlayLandAbility) {
|
||||||
Card hostCard = (Card) copier.find(origSa.getHostCard());
|
Card hostCard = (Card) copier.find(origSa.getHostCard());
|
||||||
origSa.setHostCard(hostCard);
|
if (!aiPlayer.playLand(hostCard, false)) {
|
||||||
origSa.setActivatingPlayer(aiPlayer);
|
|
||||||
if (origSa.canPlay()) {
|
|
||||||
origSa.resolve();
|
|
||||||
} else {
|
|
||||||
System.err.println("Simulation: Couldn't play land! " + origSa);
|
System.err.println("Simulation: Couldn't play land! " + origSa);
|
||||||
}
|
}
|
||||||
sa = origSa;
|
sa = origSa;
|
||||||
|
|||||||
Reference in New Issue
Block a user