Compare commits

..

2 Commits

  1. 2
      src/Item/Item.lua

@ -282,6 +282,8 @@ function Item:GetChargesRemaining()
end end
-- Create a condition for the Item -- Create a condition for the Item
---@param name string
---@param func fun(self:Item)
function Item:Condition(name, func) function Item:Condition(name, func)
self.conditions[name] = { self.conditions[name] = {
func = func func = func

Loading…
Cancel
Save