mirror of
https://github.com/minetest-mods/throwing.git
synced 2025-01-09 01:30:26 +01:00
parent
49f3f36bdf
commit
2d2368529f
2
init.lua
2
init.lua
@ -110,7 +110,7 @@ local function shoot_arrow(def, toolranks_data, player, bow_index, throw_itself,
|
||||
|
||||
if not minetest.settings:get_bool("creative_mode") then
|
||||
if new_stack then
|
||||
inventory:set_stack("main", arrrow_index, new_stack)
|
||||
inventory:set_stack("main", arrow_index, new_stack)
|
||||
else
|
||||
local stack = inventory:get_stack("main", arrow_index)
|
||||
stack:take_item()
|
||||
|
Loading…
Reference in New Issue
Block a user