forked from VoxeLibre/VoxeLibre
Changed hand_range to reflect that of Minecraft Java Edition in both creative and survival
This commit is contained in:
parent
dda85ea141
commit
22f6c38c1a
|
@ -25,11 +25,11 @@ local groupcaps, hand_range, hand_groups
|
||||||
if minetest.is_creative_enabled("") then
|
if minetest.is_creative_enabled("") then
|
||||||
-- Instant breaking in creative mode
|
-- Instant breaking in creative mode
|
||||||
groupcaps = { creative_breakable = { times = {0}, uses = 0 } }
|
groupcaps = { creative_breakable = { times = {0}, uses = 0 } }
|
||||||
hand_range = 10
|
hand_range = 5
|
||||||
hand_groups = { dig_speed_class = 7 }
|
hand_groups = { dig_speed_class = 7 }
|
||||||
else
|
else
|
||||||
groupcaps = {}
|
groupcaps = {}
|
||||||
hand_range = 4
|
hand_range = 4.5
|
||||||
hand_groups = { dig_speed_class = 1 }
|
hand_groups = { dig_speed_class = 1 }
|
||||||
end
|
end
|
||||||
minetest.register_tool(":", {
|
minetest.register_tool(":", {
|
||||||
|
|
Loading…
Reference in New Issue