mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/Disables: Fixed params_1 (SPELL_DISABLE_AREA) data loading for DISABLE_TYPE_SPELL (#26878)
This commit is contained in:
@@ -117,7 +117,7 @@ void LoadDisables()
|
||||
|
||||
if (flags & SPELL_DISABLE_AREA)
|
||||
{
|
||||
for (std::string_view areaStr : Trinity::Tokenize(params_0, ',', true))
|
||||
for (std::string_view areaStr : Trinity::Tokenize(params_1, ',', true))
|
||||
{
|
||||
if (Optional<uint32> areaId = Trinity::StringTo<uint32>(areaStr))
|
||||
data.params[1].insert(*areaId);
|
||||
|
||||
Reference in New Issue
Block a user