mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-27 23:27:59 +01:00
Fixed spells appearing in different ordering in the creative inventory
This commit is contained in:
parent
7a05efa23a
commit
9ef8a78a79
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
package com.minelittlepony.unicopia.ability.magic.spell.effect;
|
||||
|
||||
import java.util.EnumMap;
|
||||
import java.util.HashSet;
|
||||
import java.util.LinkedHashSet;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
|
@ -204,7 +204,7 @@ public final class SpellType<T extends Spell> implements Affine, SpellPredicate<
|
|||
}
|
||||
|
||||
public static Set<SpellType<?>> byAffinity(Affinity affinity) {
|
||||
return BY_AFFINITY.computeIfAbsent(affinity, a -> new HashSet<>());
|
||||
return BY_AFFINITY.computeIfAbsent(affinity, a -> new LinkedHashSet<>());
|
||||
}
|
||||
|
||||
public interface Factory<T extends Spell> {
|
||||
|
|
Loading…
Reference in a new issue