Skip to content

Commit

Permalink
fix compile
Browse files Browse the repository at this point in the history
  • Loading branch information
eugene-doobu committed Dec 30, 2024
1 parent 5c26dc2 commit 6041706
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Lib9c.DevExtensions/Manager/Contents/CreateAvatarManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ private static void AddItemsForTest(
{
avatarState.inventory.AddItem(ItemFactory.CreateMaterial(row), materialCount);

if (row.ItemSubType is ItemSubType.Hourglass or ItemSubType.ApStone)
if (row.ItemSubType is ItemSubType.Hourglass || row.ItemSubType is ItemSubType.ApStone)
{
avatarState.inventory.AddItem(ItemFactory.CreateTradableMaterial(row), tradableMaterialCount);
}
Expand All @@ -276,7 +276,7 @@ private static void AddItemsForTest(
foreach (var row in equipmentItemSheet.OrderedList.Where(row =>
row.Id > GameConfig.DefaultAvatarWeaponId))
{
if (row.ItemSubType is ItemSubType.Grimoire or ItemSubType.Aura)
if (row.ItemSubType is ItemSubType.Grimoire || row.ItemSubType is ItemSubType.Aura)
{
for (var i = 0; i < AddItemCount; ++i)
{
Expand Down

0 comments on commit 6041706

Please sign in to comment.