Remove Duplicative MySQL Error: NPCSpawnDB Error: %s %s

This commit is contained in:
Akkadius 2015-01-19 05:25:07 -06:00
parent be37525414
commit 6cd08b8f27

View File

@ -1004,7 +1004,6 @@ uint32 ZoneDatabase::CreateNewNPCCommand(const char* zone, uint32 zone_version,C
spawn->MerchantType, 0, spawn->GetRunspeed(), 28, 28); spawn->MerchantType, 0, spawn->GetRunspeed(), 28, 28);
auto results = QueryDatabase(query); auto results = QueryDatabase(query);
if (!results.Success()) { if (!results.Success()) {
Log.Out(Logs::General, Logs::Error, "NPCSpawnDB Error: %s %s", query.c_str(), results.ErrorMessage().c_str());
return false; return false;
} }
npc_type_id = results.LastInsertedID(); npc_type_id = results.LastInsertedID();