1
0
Fork 0

Do some calculating

This commit is contained in:
Code-Sploit 2021-02-28 14:02:48 +00:00
parent 99b5dff849
commit 6ab0e0fa86
1 changed files with 2 additions and 2 deletions

View File

@ -203,7 +203,7 @@ minetest.register_globalstep(function(dtime)
local depth_strider = mcl_enchanting.get_enchantment(boots, "depth_strider") local depth_strider = mcl_enchanting.get_enchantment(boots, "depth_strider")
if depth_strider > 0 then if depth_strider > 0 then
playerphysics.add_physics_factor(player, "speed", "mcl_playerplus:surface", depth_strider / 2) playerphysics.add_physics_factor(player, "speed", "mcl_playerplus:surface", (depth_strider / 3) + 0.75)
end end
else else
playerphysics.remove_physics_factor(player, "speed", "mcl_playerplus:surface") playerphysics.remove_physics_factor(player, "speed", "mcl_playerplus:surface")