mirror of
https://github.com/magefree/mage.git
synced 2025-12-29 23:12:10 -08:00
* Ad Nauseam - Fixed log output of revealed and moved cards.
This commit is contained in:
parent
85572a2372
commit
7e6c1ede2a
2 changed files with 15 additions and 19 deletions
|
|
@ -56,10 +56,11 @@ public class Revealed extends HashMap<String, Cards> implements Serializable, Co
|
|||
}
|
||||
|
||||
public void add(String name, Cards cards) {
|
||||
if (!this.containsKey(name)) {
|
||||
createRevealed(name);
|
||||
if (this.containsKey(name)) {
|
||||
this.get(name).addAll(cards);
|
||||
} else {
|
||||
this.put(name, cards.copy());
|
||||
}
|
||||
this.put(name, cards.copy());
|
||||
}
|
||||
|
||||
public Cards createRevealed(String name) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue