general round of code cleanup and making it more robust
This commit is contained in:
@@ -73,6 +73,7 @@
|
||||
Details222.MythicPlus = {}
|
||||
Details222.EJCache = {}
|
||||
Details222.Segments = {}
|
||||
Details222.Tables = {}
|
||||
|
||||
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
--initialization stuff
|
||||
@@ -1074,4 +1075,10 @@ Details222.UnitIdCache.Party = {
|
||||
[2] = "party2",
|
||||
[3] = "party3",
|
||||
[4] = "party4",
|
||||
}
|
||||
}
|
||||
|
||||
function Details222.Tables.MakeWeakTable(mode)
|
||||
local newTable = {}
|
||||
setmetatable(newTable, {__mode = mode or "v"})
|
||||
return newTable
|
||||
end
|
||||
Reference in New Issue
Block a user