mirror of
https://github.com/magefree/mage.git
synced 2025-12-27 05:52:06 -08:00
fixed null pointer exception with Pako, Arcane Retriever (fixes #7062)
This commit is contained in:
parent
a022d79b65
commit
c7ebb4851f
1 changed files with 3 additions and 0 deletions
|
|
@ -52,6 +52,9 @@ public class CardsImpl extends LinkedHashSet<UUID> implements Cards, Serializabl
|
|||
|
||||
@Override
|
||||
public void add(Card card) {
|
||||
if (card == null) {
|
||||
return;
|
||||
}
|
||||
this.add(card.getId());
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue