Core/Misc: Misc Fixes

This commit is contained in:
hondacrx
2018-05-22 00:43:21 -04:00
parent 5dacd669b5
commit 0be2dc08e2
19 changed files with 72 additions and 115 deletions
+1 -1
View File
@@ -9186,7 +9186,7 @@ namespace Game
_equipmentSetGuid = result.Read<ulong>(0) + 1;
result = DB.Characters.Query("SELECT MAX(guildId) FROM guild");
if (result.GetRowCount() == 1)
if (!result.IsEmpty())
Global.GuildMgr.SetNextGuildId(result.Read<uint>(0) + 1);
result = DB.Characters.Query("SELECT MAX(itemId) from character_void_storage");