mirror of
https://github.com/correl/mage.git
synced 2025-04-10 09:11:04 -09: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
Reference in a new issue