mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
Fix display of fake cards
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
package forge.game.card;
|
package forge.game.card;
|
||||||
|
|
||||||
|
import java.util.HashMap;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
@@ -69,6 +70,10 @@ public class CardView extends GameEntityView {
|
|||||||
public CardView(int id0, String name0) {
|
public CardView(int id0, String name0) {
|
||||||
this(id0);
|
this(id0);
|
||||||
getCurrentState().setName(name0);
|
getCurrentState().setName(name0);
|
||||||
|
set(TrackableProperty.Name, name0);
|
||||||
|
set(TrackableProperty.ChangedColorWords, new HashMap<String, String>());
|
||||||
|
set(TrackableProperty.ChangedTypes, new HashMap<String, String>());
|
||||||
|
set(TrackableProperty.Sickness, true);
|
||||||
}
|
}
|
||||||
public CardView(int id0, String name0, PlayerView ownerAndController, String imageKey) {
|
public CardView(int id0, String name0, PlayerView ownerAndController, String imageKey) {
|
||||||
this(id0, name0);
|
this(id0, name0);
|
||||||
|
|||||||
Reference in New Issue
Block a user