Merge branch 'chmodsayshello-main-patch-67252' into 'main'
increase y offset See merge request chmodsayshello/TheBridge!4
This commit is contained in:
commit
51b325e8e9
|
@ -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,
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue