Explorar el Código

BETA: Fix Recipe Manufacture not refresh properly:

Reported by: Hyrelius
Tested by: Hyrelius
Reviewed by: UnAfraid

Zealar hace 10 años
padre
commit
5b4c1225a2

+ 3 - 0
L2J_Server_BETA/java/com/l2jserver/gameserver/network/clientpackets/RequestRecipeShopListSet.java

@@ -103,6 +103,9 @@ public final class RequestRecipeShopListSet extends L2GameClientPacket
 		
 		List<L2RecipeList> dwarfRecipes = Arrays.asList(player.getDwarvenRecipeBook());
 		List<L2RecipeList> commonRecipes = Arrays.asList(player.getCommonRecipeBook());
+		
+		player.getManufactureItems().clear();
+		
 		for (L2ManufactureItem i : _items)
 		{
 			final L2RecipeList list = RecipeData.getInstance().getRecipeList(i.getRecipeId());