- One more tweak to the previous commit.

This commit is contained in:
Agetian
2017-09-18 12:47:56 +00:00
parent a31c3dc611
commit ae5e7d1e60

View File

@@ -892,7 +892,7 @@ public class SpecialCardAi {
} }
// We appear to be playing Reanimator (or we have a reanimator card in hand already), so it's // We appear to be playing Reanimator (or we have a reanimator card in hand already), so it's
// worth to fill the graveyard now // worth to fill the graveyard now
if (ComputerUtil.isPlayingReanimator(ai)) { if (ComputerUtil.isPlayingReanimator(ai) && !creatsInLib.isEmpty()) {
CardCollection creatsInHandByCMC = new CardCollection(creatsInHand); CardCollection creatsInHandByCMC = new CardCollection(creatsInHand);
Collections.sort(creatsInHandByCMC, CardLists.CmcComparatorInv); Collections.sort(creatsInHandByCMC, CardLists.CmcComparatorInv);
return creatsInHandByCMC.getFirst(); return creatsInHandByCMC.getFirst();