knockbackstick & icon changes
This commit is contained in:
parent
51b325e8e9
commit
6c4ef3d96a
Binary file not shown.
Before Width: | Height: | Size: 776 B After Width: | Height: | Size: 1.9 KiB |
|
@ -206,6 +206,6 @@ minetest.register_craftitem("the_bridge:knockback_stick",{
|
|||
if not minetest.is_player(pointed_thing.ref) then return end
|
||||
dir = user:get_look_dir()
|
||||
dir.y = dir.y+1
|
||||
pointed_thing.ref:add_player_velocity(vector.multiply(dir,8))
|
||||
pointed_thing.ref:add_player_velocity(vector.multiply(dir,16))
|
||||
end,
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue