mark saved data private

This commit is contained in:
Alexander Weber 2018-01-26 16:57:54 +01:00
parent f8f01fbc4d
commit 1a16ee2619

View File

@ -8,6 +8,7 @@ function storage.new(location)
if self.location.type == "nodemeta" then
local meta = minetest.get_meta(self.location.pos)
meta:set_string("qa_block_data", minetest.serialize(self.data))
meta:mark_as_private("qa_block_data")
end
end