diff --git a/Tinkr.lua b/Tinkr.lua index 3aeb16d..5dc247b 100644 --- a/Tinkr.lua +++ b/Tinkr.lua @@ -8,7 +8,7 @@ ---@class WowGameObject : userdata ---@field unit fun(): UnitIds ---@field guid fun(): string ----@field id fun(): ...:number +---@field id fun(): number | boolean, ...: number|nil ---@alias TinkrObjectReference WowGameObject | UnitIds @@ -1713,7 +1713,7 @@ local TinkrObjects = { ---Returns the NPC ID of a WowGameObject. ---@param objectRef TinkrObjectReference - ---@return number | false + ---@return (number | boolean), (number?) ... ObjectID = function(objectRef) end, ---Check if a WowGameObject is outside (AKA not in a cave).