From 748595d2c9aa6523a28c2e5e61c319f0fb4e7bdf Mon Sep 17 00:00:00 2001 From: Elkien3 Date: Sun, 4 Feb 2018 14:34:32 -0600 Subject: [PATCH] bugfix --- mods/throwing/functions.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/throwing/functions.lua b/mods/throwing/functions.lua index 9846eed..a1fad2d 100644 --- a/mods/throwing/functions.lua +++ b/mods/throwing/functions.lua @@ -32,7 +32,7 @@ function throwing_shoot_arrow (itemstack, player, stiffness, is_cross) minetest.sound_play("throwing_bow_sound", {pos=playerpos}) end if not obj:get_luaentity() then - return + return false end obj:get_luaentity().player = player obj:get_luaentity().inventory = player:get_inventory()