chore(Script/Misc): cleanup (#19619)

* chore(Script/Misc): cleanup

* more cleanup

* cleanup
This commit is contained in:
Kitzunu
2024-08-14 21:29:50 +02:00
committed by GitHub
parent 030716421f
commit 7ff8f72397
21 changed files with 145 additions and 122 deletions

View File

@@ -535,7 +535,7 @@ public:
if (!listQueue && !checkAll)
{
itemState = "The player has the following " + itemState + " items: ";
handler->SendSysMessage(itemState.c_str());
handler->SendSysMessage(itemState);
for (uint8 i = PLAYER_SLOT_START; i < PLAYER_SLOT_END; ++i)
{
if (i >= BUYBACK_SLOT_START && i < BUYBACK_SLOT_END)
@@ -941,7 +941,7 @@ public:
while (ss.str().size() < 128000)
ss << "This is a dummy string to push the packet's size beyond 128000 bytes. ";
handler->SendSysMessage(ss.str().c_str());
handler->SendSysMessage(ss.str());
return true;
}