Correct container data keys and callable overloads

Autofill stores the whole per entity map against a player.
The readme container is called as a define, so it needs the overload
the other element classes carry.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
bbassie
2026-08-07 15:31:18 +00:00
co-authored by Claude Opus 5
parent d78ae40c5d
commit 19fd1eabbe
2 changed files with 7 additions and 6 deletions
+1 -1
View File
@@ -265,7 +265,7 @@ end
--- Container added to the left gui flow
--- @class ExpGui_Autofill.elements.container: ExpElement
--- @field data table<string, ExpGui_Autofill.entity_settings>
--- @field data table<LuaPlayer, table<string, ExpGui_Autofill.entity_settings>>
Elements.container = Gui.define("autofill/container")
:draw(function(def, parent)
--- @cast def ExpGui_Autofill.elements.container