From da0509c5bd4618216856592437beb32447fb7601 Mon Sep 17 00:00:00 2001 From: Niklp Date: Sat, 29 Jun 2024 16:23:01 +0200 Subject: [PATCH] Replace deprecated `meta:set_string()` call --- mods/default/chests.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/default/chests.lua b/mods/default/chests.lua index 1c97b73a..c8988633 100644 --- a/mods/default/chests.lua +++ b/mods/default/chests.lua @@ -284,7 +284,7 @@ function default.chest.register_chest(prefixed_name, d) nodenames = {name}, action = function(pos, node) local meta = minetest.get_meta(pos) - meta:set_string("formspec", nil) + meta:set_string("formspec", "") local inv = meta:get_inventory() local list = inv:get_list("default:chest") if list then