From 6e7b9a60be0891d1d0de2f9471158d33391ea5ab Mon Sep 17 00:00:00 2001 From: MT-Modder Date: Fri, 10 Feb 2017 18:04:04 -0500 Subject: [PATCH] Update wand definition (#129) Fixes "maxwear" deprecated warning --- worldedit_commands/wand.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/worldedit_commands/wand.lua b/worldedit_commands/wand.lua index 79d9eb2..16f9265 100644 --- a/worldedit_commands/wand.lua +++ b/worldedit_commands/wand.lua @@ -8,9 +8,9 @@ minetest.register_tool(":worldedit:wand", { full_punch_interval = 1.0, max_drop_level = 0, groupcaps={ - fleshy={times={[2]=0.80, [3]=0.40}, maxwear=0.05, maxlevel=1}, - snappy={times={[2]=0.80, [3]=0.40}, maxwear=0.05, maxlevel=1}, - choppy={times={[3]=0.90}, maxwear=0.05, maxlevel=0} + fleshy={times={[2]=0.80, [3]=0.40}, uses=1/0.05, maxlevel=1}, + snappy={times={[2]=0.80, [3]=0.40}, uses=1/0.05, maxlevel=1}, + choppy={times={[3]=0.90}, uses=1/0.05, maxlevel=0} } },