diff --git a/src/cs_transmog.cpp b/src/cs_transmog.cpp index 9bdeef6..bbb9b6c 100644 --- a/src/cs_transmog.cpp +++ b/src/cs_transmog.cpp @@ -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());