Skip to content

Commit

Permalink
Replace deprecated meta:set_string() call
Browse files Browse the repository at this point in the history
  • Loading branch information
Niklp09 committed Jun 29, 2024
1 parent 599dedd commit c9e850b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mods/default/chests.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c9e850b

Please sign in to comment.