diff options
author | Vanessa Dannenberg <vanessa.e.dannenberg@gmail.com> | 2020-05-26 20:56:09 +0000 |
---|---|---|
committer | Vanessa Dannenberg <vanessa.e.dannenberg@gmail.com> | 2020-05-26 20:56:09 +0000 |
commit | 8281e3d0687b665f6bca05ecbf6fc8a5a579edda (patch) | |
tree | 3cf60c084c7caa392ab18f0835238cbaef915fd7 | |
parent | 5410ea74f28de489f7cea15dc5c6dadf16f4d2f3 (diff) | |
parent | ed282b02989f19c776c807ea09a572f4844547ed (diff) | |
download | pipeworks-8281e3d0687b665f6bca05ecbf6fc8a5a579edda.tar pipeworks-8281e3d0687b665f6bca05ecbf6fc8a5a579edda.tar.gz pipeworks-8281e3d0687b665f6bca05ecbf6fc8a5a579edda.tar.bz2 pipeworks-8281e3d0687b665f6bca05ecbf6fc8a5a579edda.tar.xz pipeworks-8281e3d0687b665f6bca05ecbf6fc8a5a579edda.zip |
Merge branch 'nodebreaker_fix' into 'master'
Prevent the node breaker from digging all nodes
See merge request VanessaE/pipeworks!19
-rw-r--r-- | wielder.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wielder.lua b/wielder.lua index 13f4398..a0fb472 100644 --- a/wielder.lua +++ b/wielder.lua @@ -40,7 +40,7 @@ local can_tool_dig_node = function(nodename, toolcaps, toolname) -- but a player holding one can - the game seems to fall back to the hand. -- fall back to checking the hand's properties if the tool isn't the correct one. local hand_caps = minetest.registered_items[""].tool_capabilities - diggable = minetest.get_dig_params(nodegroups, hand_caps) + diggable = minetest.get_dig_params(nodegroups, hand_caps).diggable end return diggable end |