Skip to content

Commit

Permalink
Remove result item layer when render ItemEnhancement
Browse files Browse the repository at this point in the history
  • Loading branch information
ipdae committed Jul 10, 2024
1 parent 2048f30 commit 747bbb5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nekoyume/Assets/_Scripts/Blockchain/ActionRenderHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1325,6 +1325,7 @@ private ActionEvaluation<ItemEnhancement> PreResponseItemEnhancement(ActionEvalu
out var avatarState))
{
// 액션을 스테이징한 시점에 미리 반영해둔 아이템의 레이어를 먼저 제거하고, 액션의 결과로 나온 실제 상태를 반영
LocalLayerModifier.AddNonFungibleItem(avatarAddress, eval.Action.itemId, false);
foreach (var tradableId in result.materialItemIdList)
{
if (avatarState.inventory.TryGetNonFungibleItem(
Expand Down

0 comments on commit 747bbb5

Please sign in to comment.