Merge branch 'chmodsayshello-main-patch-67252' into 'main'

increase y offset

See merge request chmodsayshello/TheBridge!4
This commit is contained in:
chmodsayshello 2022-10-22 16:34:02 +00:00
commit 51b325e8e9
1 changed files with 1 additions and 1 deletions

View File

@ -205,7 +205,7 @@ minetest.register_craftitem("the_bridge:knockback_stick",{
if not pointed_thing then return end if not pointed_thing then return end
if not minetest.is_player(pointed_thing.ref) then return end if not minetest.is_player(pointed_thing.ref) then return end
dir = user:get_look_dir() dir = user:get_look_dir()
dir.y = dir.y+0.2 dir.y = dir.y+1
pointed_thing.ref:add_player_velocity(vector.multiply(dir,8)) pointed_thing.ref:add_player_velocity(vector.multiply(dir,8))
end, end,
}) })