mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-18 03:15:41 +00:00
chore(core): remove malformed whitespaces (#4244)
* from https://www.codefactor.io/repository/github/azerothcore/azerothcore-wotlk/issues?category=Style&groupId=838&lang=5&page=75
This commit is contained in:
@@ -221,7 +221,6 @@ public:
|
||||
stmt->setUInt32(0, delInfo.lowGuid);
|
||||
if (PreparedQueryResult result = CharacterDatabase.Query(stmt))
|
||||
sWorld->AddGlobalPlayerData(delInfo.lowGuid, delInfo.accountId, delInfo.name, (*result)[2].GetUInt8(), (*result)[0].GetUInt8(), (*result)[1].GetUInt8(), (*result)[3].GetUInt8(), 0, 0);
|
||||
|
||||
}
|
||||
|
||||
static void HandleCharacterLevel(Player* player, uint64 playerGuid, uint32 oldLevel, uint32 newLevel, ChatHandler* handler)
|
||||
|
||||
@@ -14,7 +14,6 @@ public:
|
||||
|
||||
std::vector<ChatCommand> GetCommands() const override
|
||||
{
|
||||
|
||||
static std::vector<ChatCommand> cheatCommandTable =
|
||||
{
|
||||
{ "god", SEC_GAMEMASTER, false, &HandleGodModeCheatCommand, "" },
|
||||
@@ -25,13 +24,11 @@ public:
|
||||
{ "status", SEC_GAMEMASTER, false, &HandleCheatStatusCommand, "" },
|
||||
{ "taxi", SEC_GAMEMASTER, false, &HandleTaxiCheatCommand, "" },
|
||||
{ "explore", SEC_GAMEMASTER, false, &HandleExploreCheatCommand, "" },
|
||||
|
||||
};
|
||||
|
||||
static std::vector<ChatCommand> commandTable =
|
||||
{
|
||||
{ "cheat", SEC_GAMEMASTER, false, nullptr, "", cheatCommandTable },
|
||||
|
||||
};
|
||||
return commandTable;
|
||||
}
|
||||
|
||||
@@ -655,7 +655,6 @@ public:
|
||||
|
||||
if (!object)
|
||||
{
|
||||
|
||||
handler->PSendSysMessage(LANG_COMMAND_OBJNOTFOUND, abs(guidLow));
|
||||
handler->SetSentErrorMessage(true);
|
||||
return false;
|
||||
|
||||
@@ -1216,7 +1216,6 @@ public:
|
||||
|
||||
//Not a supported argument
|
||||
return false;
|
||||
|
||||
}
|
||||
|
||||
static bool HandleLinkGraveCommand(ChatHandler* handler, char const* args)
|
||||
|
||||
@@ -223,7 +223,6 @@ public:
|
||||
|
||||
static bool HandleWpUnLoadCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
|
||||
Creature* target = handler->getSelectedCreature();
|
||||
|
||||
if (!target)
|
||||
@@ -877,7 +876,6 @@ public:
|
||||
creature->DeleteFromDB();
|
||||
creature->AddObjectToRemoveList();
|
||||
}
|
||||
|
||||
} while (result2->NextRow());
|
||||
|
||||
if (hasError)
|
||||
|
||||
Reference in New Issue
Block a user