Skip to content

Commit

Permalink
Fixed ancient options in extended item serializer
Browse files Browse the repository at this point in the history
  • Loading branch information
sven-n committed Oct 22, 2024
1 parent fd9fbf8 commit 0b4ee8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GameServer/RemoteView/ItemSerializerExtended.cs
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ public int Length
}
}

private int ExcellentIndex => this.Options.HasFlag(OptionFlags.HasOption) ? 6 : 5;
private int ExcellentIndex => this.Options.HasFlag(OptionFlags.HasExcellent) ? 6 : 5;

private int AncientIndex => this.Options.HasFlag(OptionFlags.HasAncient) ? this.ExcellentIndex + 1 : this.ExcellentIndex;

Expand Down

0 comments on commit 0b4ee8b

Please sign in to comment.