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

This commit is contained in:
Akkadius 2015-01-19 05:25:16 -06:00
parent 1f8d483bad
commit 525a513871

View File

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