From 1990a75ae23b47b07a01644b1c0b98b192060dd2 Mon Sep 17 00:00:00 2001 From: Matthew Rodrigues <38044816+mattcapazz@users.noreply.github.com> Date: Tue, 23 May 2023 17:28:59 +0100 Subject: [PATCH] Update Compatibility.lua Commented ll. 79 & 80 because if you run the game with LUA errors enabled it turns annoying trying to open Dungeon Caches for example, since it's not a valid QuestID for the addon. I feel they should be commented and if someone is working on the addon they can simply remove those lines as comments --- AI_VoiceOver/Compatibility.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AI_VoiceOver/Compatibility.lua b/AI_VoiceOver/Compatibility.lua index 9e54b5f6..219b8bda 100644 --- a/AI_VoiceOver/Compatibility.lua +++ b/AI_VoiceOver/Compatibility.lua @@ -76,8 +76,8 @@ function Utils:GetIDFromGUID(guid) return end local type = assert(self:GetGUIDType(guid), format([[Failed to determine the type of GUID "%s"]], guid)) - assert(Enums.GUID:GetName(type), format([[Unknown GUID type %d]], type)) - assert(Enums.GUID:CanHaveID(type), format([[GUID "%s" does not contain ID]], guid)) + -- assert(Enums.GUID:GetName(type), format([[Unknown GUID type %d]], type)) + -- assert(Enums.GUID:CanHaveID(type), format([[GUID "%s" does not contain ID]], guid)) return tonumber(guid:sub(7, 7 + 6 - 1), 16) end