bugfix
This commit is contained in:
parent
bed7973051
commit
748595d2c9
@ -32,7 +32,7 @@ function throwing_shoot_arrow (itemstack, player, stiffness, is_cross)
|
|||||||
minetest.sound_play("throwing_bow_sound", {pos=playerpos})
|
minetest.sound_play("throwing_bow_sound", {pos=playerpos})
|
||||||
end
|
end
|
||||||
if not obj:get_luaentity() then
|
if not obj:get_luaentity() then
|
||||||
return
|
return false
|
||||||
end
|
end
|
||||||
obj:get_luaentity().player = player
|
obj:get_luaentity().player = player
|
||||||
obj:get_luaentity().inventory = player:get_inventory()
|
obj:get_luaentity().inventory = player:get_inventory()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user