Fix handy digging times
This commit is contained in:
parent
a52f853853
commit
7dd5afe28f
|
@ -126,15 +126,15 @@ local overwrite = function()
|
||||||
ar = 0
|
ar = 0
|
||||||
end
|
end
|
||||||
if minigroup == "handy" then
|
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
|
groups_changed = true
|
||||||
elseif ndef.groups[minigroup] then
|
elseif ndef.groups[minigroup] then
|
||||||
if (minigroup == "shearsy_wool" and ndef.groups.wool) or
|
if (minigroup == "shearsy_wool" and ndef.groups.wool) or
|
||||||
(minigroup == "swordy_cobweb" and nname == "mcl_core:cobweb") then
|
(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
|
groups_changed = true
|
||||||
elseif minigroup ~= "swordy_cobweb" and minigroup ~= "shearsy_wool" then
|
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
|
groups_changed = true
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue
Block a user