mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 00:48:56 +01:00
Remove useless spam at core boot. I have never seen, nor heard of a script not assigned to a npc, crashing the core.
--HG-- branch : trunk
This commit is contained in:
@@ -234,7 +234,7 @@ void Script::RegisterSelf()
|
||||
}
|
||||
else if(Name.find("example") == std::string::npos)
|
||||
{
|
||||
error_db_log("CRASH ALERT! TrinityScript: RegisterSelf, but script named %s does not have ScriptName assigned in database.",(this)->Name.c_str());
|
||||
//error_db_log("CRASH ALERT! TrinityScript: RegisterSelf, but script named %s does not have ScriptName assigned in database.",(this)->Name.c_str());
|
||||
delete this;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user