From b4b58c563b0848608f20058ea84faa000d04e778 Mon Sep 17 00:00:00 2001 From: Shauren Date: Tue, 11 Jan 2022 21:08:22 +0100 Subject: Core/Spells: Fixed typo in loading serverside spells --- src/server/game/Spells/SpellMgr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/server/game/Spells/SpellMgr.cpp b/src/server/game/Spells/SpellMgr.cpp index 6860f0e9347..205a0dd2818 100644 --- a/src/server/game/Spells/SpellMgr.cpp +++ b/src/server/game/Spells/SpellMgr.cpp @@ -2804,7 +2804,7 @@ void SpellMgr::LoadSpellInfoServerside() { Field* fields = spellsResult->Fetch(); uint32 spellId = fields[0].GetUInt32(); - Difficulty difficulty = Difficulty(fields[2].GetUInt32()); + Difficulty difficulty = Difficulty(fields[1].GetUInt32()); if (sSpellNameStore.HasRecord(spellId)) { TC_LOG_ERROR("sql.sql", "Serverside spell %u difficulty %u is already loaded from file. Overriding existing spells is not allowed.", -- cgit v1.2.3