summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMT-Modder <MT-Modder@users.noreply.github.com>2017-02-10 18:04:04 -0500
committersfan5 <sfan5@live.de>2017-02-11 00:04:04 +0100
commit6e7b9a60be0891d1d0de2f9471158d33391ea5ab (patch)
tree0e4ac2e41ef0c7e4deb33789543dd1627d8b7b54
parentbcac45a476577341b6385b671edcf639acc63393 (diff)
Update wand definition (#129)
Fixes "maxwear" deprecated warning
-rw-r--r--worldedit_commands/wand.lua6
1 files 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}
}
},