diff --git a/D.Core/MemoryReader.cs b/D.Core/MemoryReader.cs index a4e9656..7b6ac4a 100644 --- a/D.Core/MemoryReader.cs +++ b/D.Core/MemoryReader.cs @@ -157,7 +157,7 @@ public bool CurrentPlayerValid() { mStatList = ReadAndValidate(m_ProcessInfo, _mMemoryState.PlayerUnit.StatsList); var playerName = Encoding.ASCII.GetString(WindowsHelper.Read(m_ProcessInfo.Handle, _mMemoryState.PlayerUnit.UnitData, 16)).TrimEnd((char)0); - var stats = WindowsHelper.Read(m_ProcessInfo.Handle, mStatList.Stats2.Array, (int)mStatList.Stats2.Size); + var stats = WindowsHelper.Read(m_ProcessInfo.Handle, mStatList.Stats.Array, (int)mStatList.Stats.Size); var levelId = mLevel.LevelId; if (levelId == Area.None) throw new Exception("Invalid area");