From 709b73295c3b6be3e093f53923accaba8df56c9e Mon Sep 17 00:00:00 2001 From: cora Date: Fri, 23 Feb 2024 16:45:43 +0100 Subject: [PATCH] Fix meta:set_string being called with nil --- mods/ITEMS/mcl_chests/api.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ITEMS/mcl_chests/api.lua b/mods/ITEMS/mcl_chests/api.lua index 0723dc1f2..91069c743 100644 --- a/mods/ITEMS/mcl_chests/api.lua +++ b/mods/ITEMS/mcl_chests/api.lua @@ -434,7 +434,7 @@ function mcl_chests.register_chest(basename, d) -- FIXME: Remove this workaround when the bug has been fixed. -- BEGIN OF WORKAROUND -- meta:set_string("workaround", "ignore_me") - meta:set_string("workaround", nil) -- Done to keep metadata clean + meta:set_string("workaround", "") -- Done to keep metadata clean -- END OF WORKAROUND -- local inv = meta:get_inventory()