Merge pull request #3177 from kevlahnota/newmaster2

fix PaperToken crash on Networkplay (Incubate, etc)
This commit is contained in:
Anthony Calosa
2023-06-01 02:31:43 +08:00
committed by GitHub

View File

@@ -16,9 +16,9 @@ import forge.util.MyRandom;
public class PaperToken implements InventoryItemFromSet, IPaperCard { public class PaperToken implements InventoryItemFromSet, IPaperCard {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
private String name; private String name;
private CardEdition edition; private transient CardEdition edition;
private ArrayList<String> imageFileName = new ArrayList<>(); private ArrayList<String> imageFileName = new ArrayList<>();
private CardRules cardRules; private transient CardRules cardRules;
private int artIndex = 1; private int artIndex = 1;
// takes a string of the form "<colors> <power> <toughness> <name>" such as: "B 0 0 Germ" // takes a string of the form "<colors> <power> <toughness> <name>" such as: "B 0 0 Germ"