mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
- Fixed a NPE caused by clicking on the picture of a booster pack (or another non-card entity) in quest shop.
This commit is contained in:
@@ -297,6 +297,8 @@ public class MatchUtil {
|
||||
}
|
||||
|
||||
public static boolean canCardBeFlipped(CardView cv) {
|
||||
if (cv == null) { return false; }
|
||||
|
||||
CardStateView altState = cv.getAlternateState();
|
||||
if (altState == null) { return false; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user