Skip to content

Commit 831f328

Browse files
committed
Fix possible edge case where hidden recipes would still be transmitted through the RecipeDesignate handler.
1 parent 4eac40f commit 831f328

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Arrowgene.Ddon.GameServer/Handler/CraftRecipeGetCraftRecipeDesignateHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public override S2CCraftRecipeGetCraftRecipeDesignateRes Handle(GameClient clien
2525
var allRecipes = Server.AssetRepository.CraftingRecipesAsset
2626
.Where(x => x.Category == request.Category)
2727
.SelectMany(x => x.RecipeList)
28-
.Where(x => x.UnlockID > 0);
28+
.Where(x => x.UnlockID > 0 && !x.IsHide);
2929

3030
foreach ( var item in request.ItemList)
3131
{

0 commit comments

Comments
 (0)