Core/Instances: Drop allowMount column in instance_template as it is already handled properly by SPELL_ATTR0_OUTDOORS_ONLY

Port From (https://github.com/TrinityCore/TrinityCore/commit/8b171d7c019f0010ec05af92466261d4be78bfff)
This commit is contained in:
hondacrx
2021-11-02 13:34:29 -04:00
parent ed85016d00
commit 55746b1007
3 changed files with 2 additions and 20 deletions
+2 -3
View File
@@ -4993,9 +4993,9 @@ namespace Game
public void LoadInstanceTemplate()
{
var time = Time.GetMSTime();
// 0 1 2 4
SQLResult result = DB.World.Query("SELECT map, parent, script, allowMount FROM instance_template");
// 0 1 2
SQLResult result = DB.World.Query("SELECT map, parent, script FROM instance_template");
if (result.IsEmpty())
{
Log.outInfo(LogFilter.ServerLoading, "Loaded 0 instance templates. DB table `instance_template` is empty!");
@@ -5014,7 +5014,6 @@ namespace Game
}
var instanceTemplate = new InstanceTemplate();
instanceTemplate.AllowMount = result.Read<bool>(3);
instanceTemplate.Parent = result.Read<uint>(1);
instanceTemplate.ScriptId = Global.ObjectMgr.GetScriptId(result.Read<string>(2));