Downgrade StatusView:get_items deprecation message to warning

This commit is contained in:
Guldoman
2022-06-11 05:13:37 +02:00
parent 82915bb217
commit 99d328cfd7
+1 -1
View File
@@ -606,7 +606,7 @@ end
---@return table right
function StatusView:get_items(nowarn)
if not nowarn and not self.get_items_warn then
core.error(
core.warn(
"Overriding StatusView:get_items() is deprecated, "
.. "use core.status_view:add_item() instead."
)