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:
LevelX2 2012-10-09 16:17:52 +02:00
parent 9c9d887c39
commit bd784dfbb0

View file

@ -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() {