diff --git a/src/StatisticsAnalysisTool/Network/Events/NewCharacterEvent.cs b/src/StatisticsAnalysisTool/Network/Events/NewCharacterEvent.cs index 7f0b47995..dba077bed 100644 --- a/src/StatisticsAnalysisTool/Network/Events/NewCharacterEvent.cs +++ b/src/StatisticsAnalysisTool/Network/Events/NewCharacterEvent.cs @@ -40,26 +40,26 @@ public NewCharacterEvent(Dictionary parameters) GuildName = guildName.ToString(); } - if (parameters.ContainsKey(37)) + if (parameters.ContainsKey(38)) { - var valueType = parameters[37].GetType(); + var valueType = parameters[38].GetType(); switch (valueType.IsArray) { case true when typeof(byte[]).Name == valueType.Name: { - var values = ((byte[]) parameters[37]).ToDictionary(); + var values = ((byte[]) parameters[38]).ToDictionary(); CharacterEquipment = GetEquipment(values); break; } case true when typeof(short[]).Name == valueType.Name: { - var values = ((short[]) parameters[37]).ToDictionary(); + var values = ((short[]) parameters[38]).ToDictionary(); CharacterEquipment = GetEquipment(values); break; } case true when typeof(int[]).Name == valueType.Name: { - var values = ((int[]) parameters[37]).ToDictionary(); + var values = ((int[]) parameters[38]).ToDictionary(); CharacterEquipment = GetEquipment(values); break; }