mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 01:08:35 +00:00
chore(Core/Arena): LANG_AREAN_ERROR_NAME_NOT_FOUND > LANG_ARENA_ERROR_NAME_NOT_FOUND (#8737)
This commit is contained in:
committed by
GitHub
parent
bde8b4c6a6
commit
04143658ab
@@ -863,7 +863,7 @@ enum AcoreStrings
|
||||
LANG_ARENA_ERROR_NAME_EXISTS = 858,
|
||||
LANG_ARENA_ERROR_SIZE = 859,
|
||||
LANG_ARENA_ERROR_COMBAT = 860,
|
||||
LANG_AREAN_ERROR_NAME_NOT_FOUND = 861,
|
||||
LANG_ARENA_ERROR_NAME_NOT_FOUND = 861,
|
||||
LANG_ARENA_ERROR_NOT_MEMBER = 862,
|
||||
LANG_ARENA_ERROR_CAPTAIN = 863,
|
||||
LANG_ARENA_CREATE = 864,
|
||||
|
||||
@@ -126,7 +126,7 @@ public:
|
||||
ArenaTeam* arena = sArenaTeamMgr->GetArenaTeamByName(oldName);
|
||||
if (!arena)
|
||||
{
|
||||
handler->PSendSysMessage(LANG_AREAN_ERROR_NAME_NOT_FOUND, oldName.c_str());
|
||||
handler->PSendSysMessage(LANG_ARENA_ERROR_NAME_NOT_FOUND, oldName.c_str());
|
||||
handler->SetSentErrorMessage(true);
|
||||
return false;
|
||||
}
|
||||
@@ -241,7 +241,7 @@ public:
|
||||
}
|
||||
|
||||
if (!found)
|
||||
handler->PSendSysMessage(LANG_AREAN_ERROR_NAME_NOT_FOUND, std::string(needle).c_str());
|
||||
handler->PSendSysMessage(LANG_ARENA_ERROR_NAME_NOT_FOUND, std::string(needle).c_str());
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user