From 99d328cfd793420bd1890555330b71384616b290 Mon Sep 17 00:00:00 2001 From: Guldoman Date: Sat, 11 Jun 2022 05:13:37 +0200 Subject: [PATCH] Downgrade `StatusView:get_items` deprecation message to warning --- data/core/statusview.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/core/statusview.lua b/data/core/statusview.lua index 497e5e2e..32882e75 100644 --- a/data/core/statusview.lua +++ b/data/core/statusview.lua @@ -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." )