mirror of
https://github.com/azerothcore/mod-transmog
synced 2025-11-29 22:48:30 +08:00
chore: Remove debugging output & Cleanup
This commit is contained in:
@@ -31,21 +31,21 @@ public:
|
||||
ChatCommandTable GetCommands() const override
|
||||
{
|
||||
static ChatCommandTable addCollectionTable =
|
||||
{
|
||||
{ "set", HandleAddTransmogItemSet, SEC_MODERATOR, Console::No },
|
||||
{ "", HandleAddTransmogItem, SEC_MODERATOR, Console::No },
|
||||
};
|
||||
{
|
||||
{ "set", HandleAddTransmogItemSet, SEC_MODERATOR, Console::No },
|
||||
{ "", HandleAddTransmogItem, SEC_MODERATOR, Console::No },
|
||||
};
|
||||
|
||||
static ChatCommandTable transmogTable =
|
||||
{
|
||||
{ "add", addCollectionTable },
|
||||
{ "", HandleDisableTransMogVisual, SEC_PLAYER, Console::No },
|
||||
};
|
||||
{
|
||||
{ "add", addCollectionTable },
|
||||
{ "", HandleDisableTransMogVisual, SEC_PLAYER, Console::No },
|
||||
};
|
||||
|
||||
static ChatCommandTable commandTable =
|
||||
{
|
||||
{ "transmog", transmogTable },
|
||||
};
|
||||
{
|
||||
{ "transmog", transmogTable },
|
||||
};
|
||||
|
||||
return commandTable;
|
||||
}
|
||||
@@ -192,8 +192,6 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
LOG_DEBUG("module", "Transmog Error {}", error);
|
||||
// .transmog add set 699
|
||||
if (!added && error > 0)
|
||||
{
|
||||
handler->SendSysMessage(error);
|
||||
@@ -201,7 +199,6 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
int locale = handler->GetSessionDbcLocale();
|
||||
std::string setName = set->name[locale];
|
||||
std::string nameLink = handler->playerLink(target->GetName());
|
||||
|
||||
Reference in New Issue
Block a user