forked from External/mage
corrected typo: prefered -> preferred
ag -l prefered | xargs sed -i 's/refered/referred/g'
This commit is contained in:
parent
4ada3f8ab9
commit
2b2f30a88a
12 changed files with 44 additions and 44 deletions
|
|
@ -199,10 +199,10 @@ public class Sets extends HashMap<String, ExpansionSet> {
|
|||
return null;
|
||||
}
|
||||
|
||||
public static ExpansionSet.SetCardInfo findCardByClass(Class<?> clazz, String preferedSetCode) {
|
||||
public static ExpansionSet.SetCardInfo findCardByClass(Class<?> clazz, String preferredSetCode) {
|
||||
ExpansionSet.SetCardInfo info = null;
|
||||
if (instance.containsKey(preferedSetCode)) {
|
||||
info = instance.get(preferedSetCode).findCardInfoByClass(clazz).stream().findFirst().orElse(null);
|
||||
if (instance.containsKey(preferredSetCode)) {
|
||||
info = instance.get(preferredSetCode).findCardInfoByClass(clazz).stream().findFirst().orElse(null);
|
||||
}
|
||||
|
||||
if (info == null) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue