Add files via upload

master
AiTechEye 2021-02-13 19:51:43 +01:00 committed by GitHub
parent aeeb5dcd10
commit d891b434ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 6 deletions

View File

@ -1624,9 +1624,6 @@ minetest.register_node("exatec:bow", {
local meta = minetest.get_meta(pos)
local inv = meta:get_inventory()
local s = inv:get_stack("main",1)
print(s:get_count())
if s:get_count() > 0 then
bow:shoot(s)
s:take_item()
@ -1664,9 +1661,6 @@ print(s:get_count())
input_list="main",
output_list="main",
test_input=function(pos,stack,opos)
print(stack:get_name(),minetest.get_item_group(stack:get_name(),"arrow"))
print(bows.registed_arrows[stack:get_name()])
return minetest.get_item_group(stack:get_name(),"arrow") > 0
end,
},