Multiple changes:

- game: fixed possible empty pay text in custom costs;
- debug: improved debug info for CardInfo objects;
- db: removed unused split sides from cards database;
- db: fixed constant cards adding on each cards database scan (e.g. on tests start);
This commit is contained in:
Oleg Agafonov 2021-08-13 14:54:10 +04:00
parent cd22dfd4cc
commit 76e57d009e
3 changed files with 18 additions and 8 deletions

View file

@ -42,6 +42,7 @@ public class ManaCostsImpl<T extends ManaCost> extends ArrayList<T> implements M
public ManaCostsImpl(final ManaCostsImpl<T> costs) {
this.id = costs.id;
this.text = costs.text;
for (T cost : costs) {
this.add(cost.copy());
}