Make "smartfs_name" in nodemeta private

master
bell07 2018-01-26 17:09:35 +01:00 committed by Andrew Ward
parent 99e8809ffd
commit 602245d13a
1 changed files with 1 additions and 0 deletions

View File

@ -252,6 +252,7 @@ smartfs._ldef.nodemeta = {
local meta = minetest.get_meta(state.location.pos)
meta:set_string("formspec", state:_buildFormspec_(true))
meta:set_string("smartfs_name", state.def.name)
meta:mark_as_private("smartfs_name")
end
end, state)
end