diff --git a/NHSE.Core/Structures/Villager/GSaveMemory.cs b/NHSE.Core/Structures/Villager/GSaveMemory.cs index df78b77..b60a692 100644 --- a/NHSE.Core/Structures/Villager/GSaveMemory.cs +++ b/NHSE.Core/Structures/Villager/GSaveMemory.cs @@ -23,7 +23,7 @@ public string TownName get => StringUtil.GetString(Data, 0x04, 10); set => StringUtil.GetBytes(value, 10).CopyTo(Data, 0x04); } - public byte[] GetTownIdentity() => Data.Slice(0x00, 20); + public byte[] GetTownIdentity() => Data.Slice(0x00, 4 + 20); public uint PlayerID { @@ -37,7 +37,7 @@ public string PlayerName set => StringUtil.GetBytes(value, 10).CopyTo(Data, 0x20); } - public byte[] GetPlayerIdentity() => Data.Slice(0x1C, 20); + public byte[] GetPlayerIdentity() => Data.Slice(0x1C, 4 + 20); public byte[] GetEventFlags() => Data.Slice(0x38, 0x100); public void SetEventFlags(byte[] value) => value.CopyTo(Data, 0x38);