mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +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) {
|
public static boolean canCardBeFlipped(CardView cv) {
|
||||||
|
if (cv == null) { return false; }
|
||||||
|
|
||||||
CardStateView altState = cv.getAlternateState();
|
CardStateView altState = cv.getAlternateState();
|
||||||
if (altState == null) { return false; }
|
if (altState == null) { return false; }
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user