From bebc93f82dacd50e35a8942dc760f8b7ffa98c90 Mon Sep 17 00:00:00 2001 From: hondacrx Date: Sat, 5 Jun 2021 19:59:49 -0400 Subject: [PATCH] Core/DataStores: Fixed SpellLabelEntry structure Port From (https://github.com/TrinityCore/TrinityCore/commit/2bfa576b30e2459efdec353b65a668fe02a6f82e) --- Source/Game/DataStorage/Structs/S_Records.cs | 2 +- sql/updates/hotfixes/master/2021_06_05_00_hotfixes.sql | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 sql/updates/hotfixes/master/2021_06_05_00_hotfixes.sql diff --git a/Source/Game/DataStorage/Structs/S_Records.cs b/Source/Game/DataStorage/Structs/S_Records.cs index 4bb427b17..d3be3b79d 100644 --- a/Source/Game/DataStorage/Structs/S_Records.cs +++ b/Source/Game/DataStorage/Structs/S_Records.cs @@ -363,7 +363,7 @@ namespace Game.DataStorage { public uint Id; public uint LabelID; - public int SpellID; + public uint SpellID; } public sealed class SpellLearnSpellRecord diff --git a/sql/updates/hotfixes/master/2021_06_05_00_hotfixes.sql b/sql/updates/hotfixes/master/2021_06_05_00_hotfixes.sql new file mode 100644 index 000000000..01e5a7995 --- /dev/null +++ b/sql/updates/hotfixes/master/2021_06_05_00_hotfixes.sql @@ -0,0 +1 @@ +ALTER TABLE `spell_label` MODIFY `SpellID` int(10) unsigned NOT NULL DEFAULT '0';