mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 10:18:01 +00:00
Fix crash when empty
This commit is contained in:
@@ -3164,7 +3164,8 @@ public class Player extends GameEntity implements Comparable<Player> {
|
||||
paidForStack.push(sa);
|
||||
}
|
||||
public void popPaidForSA() {
|
||||
paidForStack.pop();
|
||||
// it could be empty if spell couldn't be cast
|
||||
paidForStack.poll();
|
||||
}
|
||||
|
||||
public boolean isMonarch() {
|
||||
|
||||
Reference in New Issue
Block a user