trying to sacrifice the mana pool no longer gives a NPE. Fixes Kaervek's Spite.

This commit is contained in:
jendave
2011-08-06 17:00:29 +00:00
parent 8e716fccc2
commit 8b4fc266f1

View File

@@ -617,6 +617,10 @@ public class GameAction {
}
public void sacrifice(Card c) {
if(c.getName().equals("Mana Pool")) {
System.out.println("Trying to sacrifice mana pool...");
return;
}
sacrificeDestroy(c);
//Run triggers