From f1fd957e902c6e44fa347c4b6f063c6892cdbb13 Mon Sep 17 00:00:00 2001 From: Akkadius Date: Tue, 20 Jan 2015 01:41:47 -0600 Subject: [PATCH] Remove Duplicative MySQL Error: ERROR Potionbelt Save: --- zone/zonedb.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/zone/zonedb.cpp b/zone/zonedb.cpp index 7d1951595..2a923346e 100644 --- a/zone/zonedb.cpp +++ b/zone/zonedb.cpp @@ -1276,7 +1276,6 @@ bool ZoneDatabase::SaveCharacterBandolier(uint32 character_id, uint8 bandolier_i bool ZoneDatabase::SaveCharacterPotionBelt(uint32 character_id, uint8 potion_id, uint32 item_id, uint32 icon) { std::string query = StringFormat("REPLACE INTO `character_potionbelt` (id, potion_id, item_id, icon) VALUES (%u, %u, %u, %u)", character_id, potion_id, item_id, icon); auto results = QueryDatabase(query); - if (!results.RowsAffected()){ std::cout << "ERROR Potionbelt Save: " << results.ErrorMessage() << "\n\n" << query << "\n" << std::endl; } return true; }