Rumen Nikiforov vor 12 Jahren
Ursprung
Commit
c453fa1a22

+ 2 - 2
L2J_Server_BETA/java/com/l2jserver/gameserver/datatables/BuyListData.java

@@ -21,7 +21,7 @@ package com.l2jserver.gameserver.datatables;
 import java.sql.Connection;
 import java.sql.ResultSet;
 import java.sql.Statement;
-import java.util.LinkedHashMap;
+import java.util.HashMap;
 import java.util.Map;
 import java.util.logging.Level;
 
@@ -41,7 +41,7 @@ import com.l2jserver.util.file.filter.NumericNameFilter;
  */
 public final class BuyListData extends DocumentParser
 {
-	private final Map<Integer, L2BuyList> _buyLists = new LinkedHashMap<>();
+	private final Map<Integer, L2BuyList> _buyLists = new HashMap<>();
 	
 	protected BuyListData()
 	{

+ 2 - 2
L2J_Server_BETA/java/com/l2jserver/gameserver/model/buylist/L2BuyList.java

@@ -19,8 +19,8 @@
 package com.l2jserver.gameserver.model.buylist;
 
 import java.util.Collection;
-import java.util.HashMap;
 import java.util.HashSet;
+import java.util.LinkedHashMap;
 import java.util.Map;
 import java.util.Set;
 
@@ -30,7 +30,7 @@ import java.util.Set;
 public final class L2BuyList
 {
 	private final int _listId;
-	private final Map<Integer, Product> _products = new HashMap<>();
+	private final Map<Integer, Product> _products = new LinkedHashMap<>();
 	private Set<Integer> _allowedNpcs = null;
 	
 	public L2BuyList(int listId)