Skip to content

Commit

Permalink
Update wand definition (#129)
Browse files Browse the repository at this point in the history
Fixes "maxwear" deprecated warning
  • Loading branch information
MT-Modder authored and sfan5 committed Feb 10, 2017
1 parent bcac45a commit 6e7b9a6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions worldedit_commands/wand.lua
Expand Up @@ -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}
}
},

Expand Down

2 comments on commit 6e7b9a6

@HybridDog
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MT-Modder You can remove the tool_capabilities.

@sfan5
Copy link
Collaborator

@sfan5 sfan5 commented on 6e7b9a6 Mar 11, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.