From 1a478edb0c5c89aeeba4f49c110e65e2ca88c71f Mon Sep 17 00:00:00 2001 From: Jasper Jacobs <97167868+Kanopedia@users.noreply.github.com> Date: Thu, 17 Oct 2024 16:53:50 +0200 Subject: [PATCH] Update components/infobox/wikis/deadlock/infobox_item_custom.lua Co-authored-by: hjpalpha <75081997+hjpalpha@users.noreply.github.com> --- components/infobox/wikis/deadlock/infobox_item_custom.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/infobox/wikis/deadlock/infobox_item_custom.lua b/components/infobox/wikis/deadlock/infobox_item_custom.lua index 9dce41472ac..c5cffbb2406 100644 --- a/components/infobox/wikis/deadlock/infobox_item_custom.lua +++ b/components/infobox/wikis/deadlock/infobox_item_custom.lua @@ -87,7 +87,7 @@ function CustomInjector:parse(id, widgets) } widgets = caller:_getAttributeCells(attributeCells) table.insert(widgets, Cell{name = 'Standard Bonus', children = {args.standardbonus}}) - if not Table.isEmpty(widgets) then + if Table.isNotEmpty(widgets) then table.insert(widgets, 1, Title{children = 'Attributes'}) end return widgets