mirror of
https://gitlab.com/phoenix-dvpmt/mmoitems.git
synced 2025-03-12 13:19:23 +01:00
Fixed gems displaying order
This commit is contained in:
parent
5de2a0003f
commit
9c3d615e78
@ -29,7 +29,8 @@ import java.util.UUID;
|
||||
|
||||
public class SkullTextureStat extends ItemStat<SkullTextureData, SkullTextureData> {
|
||||
public SkullTextureStat() {
|
||||
super("SKULL_TEXTURE", VersionMaterial.PLAYER_HEAD.toMaterial(), "Skull Texture", new String[]{"The skull texture &nvalue&7.", "Can be found on head databases."}, new String[]{"all"}, VersionMaterial.PLAYER_HEAD.toMaterial());
|
||||
super("SKULL_TEXTURE", VersionMaterial.PLAYER_HEAD.toMaterial(), "Skull Texture", new String[]{"The skull texture &nvalue&7 which can be found on head databases.",
|
||||
"1.20+ users are advised to use the texture&n URL&7 instead."}, new String[]{"all"}, VersionMaterial.PLAYER_HEAD.toMaterial());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -5,11 +5,9 @@ import com.google.gson.JsonObject;
|
||||
import io.lumine.mythic.lib.api.util.ui.SilentNumbers;
|
||||
import net.Indyuce.mmoitems.MMOItems;
|
||||
import net.Indyuce.mmoitems.api.item.build.MMOItemBuilder;
|
||||
import net.Indyuce.mmoitems.stat.GemSockets;
|
||||
import net.Indyuce.mmoitems.stat.data.random.RandomStatData;
|
||||
import net.Indyuce.mmoitems.stat.data.type.Mergeable;
|
||||
import net.Indyuce.mmoitems.stat.data.type.StatData;
|
||||
import org.apache.commons.lang.Validate;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
@ -25,7 +23,7 @@ import java.util.*;
|
||||
*/
|
||||
public class GemSocketsData implements StatData, Mergeable<GemSocketsData>, RandomStatData<GemSocketsData> {
|
||||
@NotNull
|
||||
private final Set<GemstoneData> gems = new HashSet<>();
|
||||
private final Set<GemstoneData> gems = new LinkedHashSet<>();
|
||||
@NotNull
|
||||
private final List<String> emptySlots;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user