Add wrench serialization format version

This commit is contained in:
ShadowNinja 2013-12-20 18:48:46 -05:00
parent 731a82169b
commit c5a2f0facc

View File

@ -8,6 +8,8 @@ To pickup a node simply right click on it. If the node contains a formspec,
you will need to shift+right click instead.
--]]
local LATEST_SERIALIZATION_VERSION = 1
wrench = {}
local modpath = minetest.get_modpath(minetest.get_current_modname())
@ -116,6 +118,7 @@ minetest.register_tool("wrench:wrench", {
local metadata = {}
metadata.name = name
metadata.version = LATEST_SERIALIZATION_VERSION
local inv = meta:get_inventory()
local lists = {}