mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
- Fixed crash when starting a Vanguard game.
This commit is contained in:
@@ -494,7 +494,7 @@ public class CardView extends GameEntityView {
|
||||
void updateRulesText(CardRules rules, CardTypeView type) {
|
||||
String rulesText = null;
|
||||
|
||||
if (type.isVanguard()) {
|
||||
if (type.isVanguard() && rules != null) {
|
||||
rulesText = "Hand Modifier: " + rules.getHand() +
|
||||
"\r\nLife Modifier: " + rules.getLife();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user