Core/Logs: Fine tune more logs
And move others to more logical appenders
This commit is contained in:
1 parent
9548a8567b
commit
0852050e68
10 files changed
+28
-28
No files matched your search
@@ -1719,7 +1719,7 @@ void Spell::SendLoot(ObjectGuid guid, LootType loottype)
|
||||
// Players shouldn't be able to loot gameobjects that are currently despawned
|
||||
if (!gameObjTarget->isSpawned() && !player->IsGameMaster())
|
||||
{
|
||||
TC_LOG_ERROR("spells", "Possible hacking attempt: Player %s [guid: %u] tried to loot a gameobject [entry: %u id: %u] which is on respawn timer without being in GM mode!",
|
||||
TC_LOG_INFO("entities.player.cheat", "Possible hacking attempt: Player %s [guid: %u] tried to loot a gameobject [entry: %u id: %u] which is on respawn timer without being in GM mode!",
|
||||
player->GetName().c_str(), player->GetGUID().GetCounter(), gameObjTarget->GetEntry(), gameObjTarget->GetGUID().GetCounter());
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user