Skip to content

Commit

Permalink
Remove old 6.2 code in LineFateControl (ngld#247)
Browse files Browse the repository at this point in the history
no 6.2 client anymore. KR 6.35
  • Loading branch information
RyuaNerin authored Aug 31, 2023
1 parent cffb2d3 commit 6e73d4a
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions OverlayPlugin.Core/NetworkProcessors/LineFateControl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@ public enum FateCategory

public class LineFateControl
{
private static readonly Dictionary<uint, FateCategory> FateCategories_v62 = new Dictionary<uint, FateCategory>
{
[0x935] = FateCategory.Add,
[0x936] = FateCategory.Remove,
[0x93E] = FateCategory.Update,
};
private static readonly Dictionary<uint, FateCategory> FateCategories_v63 = new Dictionary<uint, FateCategory>
{
[0x942] = FateCategory.Add,
Expand Down Expand Up @@ -74,7 +68,7 @@ public LineFateControl(TinyIoCContainer container)

var repository = container.Resolve<FFXIVRepository>();
var region = repository.GetMachinaRegion();
fateCategories = region == GameRegion.Global ? FateCategories_v63 : FateCategories_v62;
fateCategories = FateCategories_v63;

var customLogLines = container.Resolve<FFXIVCustomLogLines>();
this.logWriter = customLogLines.RegisterCustomLogLine(new LogLineRegistryEntry()
Expand Down

0 comments on commit 6e73d4a

Please sign in to comment.