mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-28 05:43:43 +01:00
Fix meta:set_string being called with nil
This commit is contained in:
parent
1d77017ca9
commit
709b73295c
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user