View Single Post
02/12/20, 07:19 AM   #4
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,989
Code:
{PlayerInfoLogger.Default}
Will be the same as defining a anonymous table without name and assigning the first entry with key = value -> [1] = the other table PlayerInfoLogger.Default
e.g.
Lua Code:
  1. local table1 = {
  2.    [1] = PlayerInfoLogger.Default
  3. }

But for the SavedVariables you need a table with the entries of your SavedVariables,
and not a table containing a table (unless your SV needs the subtable ).
  Reply With Quote