1
0
Fork 0
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 )

This commit is contained in:
Evan Kranzler 2020-09-22 17:41:35 -04:00
parent a022d79b65
commit c7ebb4851f

View file

@ -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());
}