Skip to content

Commit

Permalink
fix: shadowing upvalue argument
Browse files Browse the repository at this point in the history
  • Loading branch information
bitpredator committed Jun 2, 2024
1 parent d2b7f62 commit a59ef75
Showing 1 changed file with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
function CreateAddonInventory(name, owner, items)
local self = {}
local self = {}

self.name = name
self.owner = owner
self.items = items
self.name = name
self.owner = owner
self.items = items

function CreateAddonInventory()

function self.addItem(name, count)
local item = self.getItem(name)
Expand Down

0 comments on commit a59ef75

Please sign in to comment.