mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
- Cleanup of old references to the mana pool as a card.
This commit is contained in:
@@ -1088,8 +1088,8 @@ public class GameAction {
|
||||
* @return a boolean.
|
||||
*/
|
||||
public final boolean sacrifice(final Card c) {
|
||||
if (c.getName().equals("Mana Pool")) {
|
||||
System.out.println("Trying to sacrifice mana pool...");
|
||||
if (c.isImmutable()) {
|
||||
System.out.println("Trying to sacrifice immutables");
|
||||
return false;
|
||||
}
|
||||
this.sacrificeDestroy(c);
|
||||
|
||||
@@ -1382,7 +1382,7 @@ public final class GameActionUtil {
|
||||
type = type.filter(new CardListFilter() {
|
||||
@Override
|
||||
public boolean addCard(final Card card) {
|
||||
return !card.equals(crd) && card.isCreature() && !crd.getName().equals("Mana Pool");
|
||||
return !card.equals(crd) && card.isCreature();
|
||||
}
|
||||
});
|
||||
final CardList alreadyAdded = new CardList();
|
||||
|
||||
Reference in New Issue
Block a user