Skip to content

Commit 6e7b9a6

Browse files
MT-Moddersfan5
MT-Modder
authored andcommittedFeb 10, 2017
Update wand definition (#129)
Fixes "maxwear" deprecated warning
1 parent bcac45a commit 6e7b9a6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

Diff for: ‎worldedit_commands/wand.lua

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ minetest.register_tool(":worldedit:wand", {
88
full_punch_interval = 1.0,
99
max_drop_level = 0,
1010
groupcaps={
11-
fleshy={times={[2]=0.80, [3]=0.40}, maxwear=0.05, maxlevel=1},
12-
snappy={times={[2]=0.80, [3]=0.40}, maxwear=0.05, maxlevel=1},
13-
choppy={times={[3]=0.90}, maxwear=0.05, maxlevel=0}
11+
fleshy={times={[2]=0.80, [3]=0.40}, uses=1/0.05, maxlevel=1},
12+
snappy={times={[2]=0.80, [3]=0.40}, uses=1/0.05, maxlevel=1},
13+
choppy={times={[3]=0.90}, uses=1/0.05, maxlevel=0}
1414
}
1515
},
1616

2 commit comments

Comments
 (2)

HybridDog commented on Mar 4, 2017

@HybridDog
Contributor

@MT-Modder You can remove the tool_capabilities.

sfan5 commented on Mar 11, 2017

@sfan5
Collaborator
Please sign in to comment.