forked from mtcontrib/throwing
1.4.1
This commit is contained in:
@ -141,5 +141,6 @@ function throwing_shoot_spear (itemstack, player)
|
||||
obj:setacceleration({x=-dir.x*1, y=-9.8, z=-dir.z*1})
|
||||
obj:setyaw(player:get_look_yaw()+math.pi)
|
||||
minetest.sound_play("throwing_bow_sound", {pos=playerpos})
|
||||
obj:get_luaentity().wear = itemstack:get_wear()
|
||||
return true
|
||||
end
|
||||
|
Reference in New Issue
Block a user