mirror of
https://github.com/magefree/mage.git
synced 2026-01-26 21:29:17 -08:00
other: fixed miss null checks in frame style usage (close #13662)
This commit is contained in:
parent
1f75b36898
commit
11dcc18049
2 changed files with 4 additions and 2 deletions
|
|
@ -84,7 +84,7 @@ public class CardPanelRenderModeMTGO extends CardPanel {
|
|||
sb.append((char) (this.view.isCanAttack() ? 1 : 0));
|
||||
sb.append((char) (this.view.isCanBlock() ? 1 : 0));
|
||||
sb.append((char) (this.view.isFaceDown() ? 1 : 0));
|
||||
sb.append((char) this.view.getFrameStyle().ordinal());
|
||||
sb.append((char) (this.view.getFrameStyle() != null ? this.view.getFrameStyle().ordinal() : -1));
|
||||
if (this.view instanceof PermanentView) {
|
||||
sb.append((char) (((PermanentView) this.view).hasSummoningSickness() ? 1 : 0));
|
||||
sb.append((char) (((PermanentView) this.view).getDamage()));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue