mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 09:31:30 +00:00
Remove Duplicative MySQL Error: NPCSpawnDB Error: %s %s
This commit is contained in:
parent
be37525414
commit
6cd08b8f27
@ -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();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user