aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2022-01-11 21:08:22 +0100
committerShauren <shauren.trinity@gmail.com>2022-01-11 21:08:22 +0100
commitb4b58c563b0848608f20058ea84faa000d04e778 (patch)
tree5a5b3a876617304c6f6150f59104ce9092370884
parentc42b73a7f8cb6cd276eec729a9c216dda3ccff89 (diff)
Core/Spells: Fixed typo in loading serverside spells
-rw-r--r--src/server/game/Spells/SpellMgr.cpp2
1 files changed, 1 insertions, 1 deletions
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.",