From 362357db6da2fccca716c34fc6b2112182012c1d Mon Sep 17 00:00:00 2001 From: Jules Date: Tue, 18 Aug 2020 12:25:00 +0200 Subject: [PATCH] Items are now sorted in the item browser --- src/main/java/net/Indyuce/mmoitems/api/util/TemplateMap.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/net/Indyuce/mmoitems/api/util/TemplateMap.java b/src/main/java/net/Indyuce/mmoitems/api/util/TemplateMap.java index 1e6ae283..9a63f8ab 100644 --- a/src/main/java/net/Indyuce/mmoitems/api/util/TemplateMap.java +++ b/src/main/java/net/Indyuce/mmoitems/api/util/TemplateMap.java @@ -3,6 +3,7 @@ package net.Indyuce.mmoitems.api.util; import java.util.Collection; import java.util.HashMap; import java.util.HashSet; +import java.util.LinkedHashMap; import java.util.Map; import java.util.Set; @@ -112,6 +113,6 @@ public class TemplateMap { * */ private class Submap { - private final Map idMap = new HashMap<>(); + private final Map idMap = new LinkedHashMap<>(); } }