forked from External/mage
Changed list for choices from HashSet to LinkedHashSet. Now order of choices are' nt random anymore (e.g. choose ReplacementEffects).
This commit is contained in:
parent
9c9d887c39
commit
bd784dfbb0
1 changed files with 2 additions and 2 deletions
|
|
@ -29,7 +29,7 @@
|
|||
package mage.choices;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.HashSet;
|
||||
import java.util.LinkedHashSet;
|
||||
import java.util.Set;
|
||||
|
||||
/**
|
||||
|
|
@ -41,7 +41,7 @@ public class ChoiceImpl<T extends ChoiceImpl<T>> implements Choice, Serializable
|
|||
protected boolean chosen;
|
||||
protected boolean required;
|
||||
protected String choice;
|
||||
protected Set<String> choices = new HashSet<String>();
|
||||
protected Set<String> choices = new LinkedHashSet<String>();
|
||||
protected String message;
|
||||
|
||||
public ChoiceImpl() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue