mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 18:28:00 +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);
|
paidForStack.push(sa);
|
||||||
}
|
}
|
||||||
public void popPaidForSA() {
|
public void popPaidForSA() {
|
||||||
paidForStack.pop();
|
// it could be empty if spell couldn't be cast
|
||||||
|
paidForStack.poll();
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isMonarch() {
|
public boolean isMonarch() {
|
||||||
|
|||||||
Reference in New Issue
Block a user