Skip to content
This repository was archived by the owner on Feb 18, 2025. It is now read-only.

Commit d5d0cfb

Browse files
Update HardModeHooksUnit.cpp
fix cmake build errors
1 parent 2254798 commit d5d0cfb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/HardModeHooks/HardModeHooksUnit.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -322,11 +322,11 @@ void HardModeHooksUnitScript::OnUnitDeath(Unit* unit, Unit* killer)
322322

323323
if (killer)
324324
{
325-
ss << Acore::StringFormatFmt("|cffFF0000Player {} has died to {} {} while undertaking the permadeath restriction!", player->GetName(), killer->ToPlayer() ? "player" : "creature", killer->GetName());
325+
ss << Acore::StringFormat("|cffFF0000Player {} has died to {} {} while undertaking the permadeath restriction!", player->GetName(), killer->ToPlayer() ? "player" : "creature", killer->GetName());
326326
}
327327
else
328328
{
329-
ss << Acore::StringFormatFmt("|cffFF0000Player {} has died while undertaking the permadeath restriction!", player->GetName());
329+
ss << Acore::StringFormat("|cffFF0000Player {} has died while undertaking the permadeath restriction!", player->GetName());
330330
}
331331

332332
sWorld->SendServerMessage(SERVER_MSG_STRING, ss.str());

0 commit comments

Comments
 (0)