Skip to content

Commit

Permalink
Fix broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
U-lis committed Sep 1, 2023
1 parent 8d8c2c8 commit 1a3e143
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Lib9c/Model/Item/Equipment.cs
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,10 @@ public override IValue Serialize()
dict = dict.SetItem(MadeWithMimisbrunnrRecipeKey, MadeWithMimisbrunnrRecipe.Serialize());
}

dict = dict.SetItem(EquipmentExpKey, Exp.Serialize());
if (Exp > 0)
{
dict = dict.SetItem(EquipmentExpKey, Exp.Serialize());
}

return dict;
#pragma warning restore LAA1002
Expand Down

0 comments on commit 1a3e143

Please sign in to comment.