RealBadAngel
2013-05-30 7d890428f547758ffd907252b2effb1d743c02e4
commit | author | age
e23f87 1 function get_item_meta (string)
R 2     if string.find(string, "return {") then
3         return minetest.deserialize(string)
4     else return nil
5     end
6 end
7
8 function set_item_meta (table)
9     return minetest.serialize(table)
10 end