AdminListUI: Correct processing of items without special fields.
This commit is contained in:
@@ -56,8 +56,8 @@ local function getFormSpecString(self, playerName, isSelect)
|
|||||||
:button(14, 5,3, 1, 'admin_commands:list_add_item', ''..tostring(itemDef.stack_max))
|
:button(14, 5,3, 1, 'admin_commands:list_add_item', ''..tostring(itemDef.stack_max))
|
||||||
:areaLabel(14.5, 0.5, 6, 4,
|
:areaLabel(14.5, 0.5, 6, 4,
|
||||||
item..'\n\n'..
|
item..'\n\n'..
|
||||||
itemDef._title..'\n'..
|
(itemDef._title or itemDef.description)..'\n'..
|
||||||
itemDef._description)
|
(itemDef._description or ''))
|
||||||
end
|
end
|
||||||
|
|
||||||
return listForm:toString()
|
return listForm:toString()
|
||||||
|
|||||||
Reference in New Issue
Block a user