diff --git a/Source/main.cpp b/Source/main.cpp index 61e84bb..e162814 100644 --- a/Source/main.cpp +++ b/Source/main.cpp @@ -63,7 +63,7 @@ void Servo::formatCommand(std::string* command) auto p2 = m_AshitaCore->GetDataManager()->GetParty()->GetMemberName(2); auto p3 = m_AshitaCore->GetDataManager()->GetParty()->GetMemberName(3); auto p4 = m_AshitaCore->GetDataManager()->GetParty()->GetMemberName(4); - auto p5 = m_AshitaCore->GetDataManager()->GetParty()->GetMemberName(4); + auto p5 = m_AshitaCore->GetDataManager()->GetParty()->GetMemberName(5); *command = StringSub(*command, "[me]", p0 != nullptr ? p0 : ""); *command = StringSub(*command, "[p0]", p0 != nullptr ? p0 : "");