mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-09-12 16:42:11 +02: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