forked from VoxeLibre/VoxeLibre
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.
|
-- FIXME: Remove this workaround when the bug has been fixed.
|
||||||
-- BEGIN OF WORKAROUND --
|
-- BEGIN OF WORKAROUND --
|
||||||
meta:set_string("workaround", "ignore_me")
|
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 --
|
-- END OF WORKAROUND --
|
||||||
|
|
||||||
local inv = meta:get_inventory()
|
local inv = meta:get_inventory()
|
||||||
|
|
Loading…
Reference in New Issue