chore: Remove debugging output & Cleanup

This commit is contained in:
Gozzim
2022-05-24 20:36:28 +02:00
parent b2c770d350
commit 8dfdd17975

View File

@@ -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());