mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 03:08:02 +00:00
Null pointer fix.
This commit is contained in:
@@ -376,6 +376,10 @@ public class CardPanel extends JPanel implements CardContainer {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (this.getCard() == null) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
final int counters = this.getCard().getNumberOfCounters();
|
final int counters = this.getCard().getNumberOfCounters();
|
||||||
|
|
||||||
if (counters == 1) {
|
if (counters == 1) {
|
||||||
|
|||||||
Reference in New Issue
Block a user