diff --git a/minetest.lua b/minetest.lua index 8c6d268..31559e8 100644 --- a/minetest.lua +++ b/minetest.lua @@ -1,3 +1,4 @@ +max_wear = math.pow(2, 16) - 1 function override(function_name, function_builder) local func = minetest[function_name] minetest["original_" .. function_name] = func