Skip to content

Commit da0509c

Browse files
Niklp09sfan5
authored andcommitted
Replace deprecated meta:set_string() call
1 parent 599dedd commit da0509c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mods/default/chests.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ function default.chest.register_chest(prefixed_name, d)
284284
nodenames = {name},
285285
action = function(pos, node)
286286
local meta = minetest.get_meta(pos)
287-
meta:set_string("formspec", nil)
287+
meta:set_string("formspec", "")
288288
local inv = meta:get_inventory()
289289
local list = inv:get_list("default:chest")
290290
if list then

0 commit comments

Comments
 (0)