Merge pull request 'Breaking range parity with Minecraft: Java Edition' (#115) from GuyLiner/MineClone5:break_range_fix into testing

Reviewed-on: MineClone5/MineClone5#115
This commit is contained in:
kay27 2022-01-12 07:23:55 +00:00
commit 41b8ff5cb0
1 changed files with 2 additions and 2 deletions

View File

@ -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(":", {