mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-26 04:21:07 +01:00
Fix handy digging times
This commit is contained in:
parent
a52f853853
commit
7dd5afe28f
1 changed files with 3 additions and 3 deletions
|
@ -126,15 +126,15 @@ local overwrite = function()
|
|||
ar = 0
|
||||
end
|
||||
if minigroup == "handy" then
|
||||
newgroups = calculate_group(hardness, minigroup, diggroup, newgroups, 1, ar)
|
||||
newgroups = calculate_group(hardness, minigroup, diggroup, newgroups, ar, 1)
|
||||
groups_changed = true
|
||||
elseif ndef.groups[minigroup] then
|
||||
if (minigroup == "shearsy_wool" and ndef.groups.wool) or
|
||||
(minigroup == "swordy_cobweb" and nname == "mcl_core:cobweb") then
|
||||
newgroups = calculate_group(hardness, minigroup, diggroup, newgroups, 1, ar)
|
||||
newgroups = calculate_group(hardness, minigroup, diggroup, newgroups, ar, 1)
|
||||
groups_changed = true
|
||||
elseif minigroup ~= "swordy_cobweb" and minigroup ~= "shearsy_wool" then
|
||||
newgroups = calculate_group(hardness, minigroup, diggroup, newgroups, 1, ar)
|
||||
newgroups = calculate_group(hardness, minigroup, diggroup, newgroups, ar, 1)
|
||||
groups_changed = true
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue