Maximum wear constant

This commit is contained in:
Lars Mueller 2020-10-10 17:08:30 +02:00
parent b912582199
commit c296b9eb44

@ -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