mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
trying to sacrifice the mana pool no longer gives a NPE. Fixes Kaervek's Spite.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user