From 163e22c3080a52fbff3dba3b6f19ed27b2715c14 Mon Sep 17 00:00:00 2001 From: hondacrx Date: Fri, 25 Feb 2022 13:06:21 -0500 Subject: [PATCH] Core/Spells: Fixed typo in loading serverside spells Port From (https://github.com/TrinityCore/TrinityCore/commit/b4b58c563b0848608f20058ea84faa000d04e778) --- Source/Game/Spells/SpellManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Game/Spells/SpellManager.cs b/Source/Game/Spells/SpellManager.cs index 9de2fc0fe..898a378f0 100644 --- a/Source/Game/Spells/SpellManager.cs +++ b/Source/Game/Spells/SpellManager.cs @@ -2497,7 +2497,7 @@ namespace Game.Entities do { uint spellId = spellsResult.Read(0); - Difficulty difficulty = (Difficulty)spellsResult.Read(2); + Difficulty difficulty = (Difficulty)spellsResult.Read(1); if (CliDB.SpellNameStorage.HasRecord(spellId)) { Log.outError(LogFilter.Sql, $"Serverside spell {spellId} difficulty {difficulty} is already loaded from file. Overriding existing spells is not allowed.");