mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28: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) {
|
void updateRulesText(CardRules rules, CardTypeView type) {
|
||||||
String rulesText = null;
|
String rulesText = null;
|
||||||
|
|
||||||
if (type.isVanguard()) {
|
if (type.isVanguard() && rules != null) {
|
||||||
rulesText = "Hand Modifier: " + rules.getHand() +
|
rulesText = "Hand Modifier: " + rules.getHand() +
|
||||||
"\r\nLife Modifier: " + rules.getLife();
|
"\r\nLife Modifier: " + rules.getLife();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user