Skip to content

Commit

Permalink
NPCBots: switch from appveyor to github workflow for windows build 3
Browse files Browse the repository at this point in the history
  • Loading branch information
trickerer committed Dec 22, 2023
1 parent 064ba07 commit d428a4b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
3.3.5
:------------:
[![nopch-build](https://github.com/trickerer/AzerothCore-wotlk-with-NPCBots/actions/workflows/core-build-nopch.yml/badge.svg?branch=npcbots_3.3.5)](https://github.com/trickerer/AzerothCore-wotlk-with-NPCBots/actions/workflows/core-build-nopch.yml)
[![windows-build](https://github.com/trickerer/AzerothCore-wotlk-with-NPCBots/workflows/windows-build/badge.svg?branch=npcbots_3.3.5&event=push)](https://github.com/trickerer/AzerothCore-wotlk-with-NPCBots/actions?query=workflow%3Awindows-build+branch%3Amaster+event%3Apush)
[![windows-build](https://github.com/trickerer/AzerothCore-wotlk-with-NPCBots/actions/workflows/windows_build.yml/badge.svg)](https://github.com/trickerer/AzerothCore-wotlk-with-NPCBots/actions/workflows/windows_build.yml)

## Introduction

Expand Down
6 changes: 6 additions & 0 deletions src/server/game/Handlers/ItemHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1265,7 +1265,13 @@ void WorldSession::HandleItemNameQueryOpcode(WorldPacket& recvData)
{
std::string Name = pName->name;
LocaleConstant loc_idx = GetSessionDbLocaleIndex();
//npcbot: pointless check, see AccountInfo()
/*
//end npcbot
if (loc_idx >= 0)
//npcbot
*/
//end npcbot
if (ItemSetNameLocale const* isnl = sObjectMgr->GetItemSetNameLocale(itemid))
ObjectMgr::GetLocaleString(isnl->Name, loc_idx, Name);

Expand Down

0 comments on commit d428a4b

Please sign in to comment.