Kitzunu
2021-01-10 14:27:55 +01:00
committed by GitHub
parent 7cf097eab2
commit da4edd547d
315 changed files with 3 additions and 729 deletions

View File

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

View File

@@ -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;
}

View File

@@ -655,7 +655,6 @@ public:
if (!object)
{
handler->PSendSysMessage(LANG_COMMAND_OBJNOTFOUND, abs(guidLow));
handler->SetSentErrorMessage(true);
return false;

View File

@@ -1216,7 +1216,6 @@ public:
//Not a supported argument
return false;
}
static bool HandleLinkGraveCommand(ChatHandler* handler, char const* args)

View File

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