mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 02:38:02 +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;
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user