Fix meta:set_string being called with nil

This commit is contained in:
cora 2024-02-23 16:45:43 +01:00 committed by the-real-herowl
parent 1d77017ca9
commit 709b73295c
1 changed files with 1 additions and 1 deletions

View File

@ -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()