Add partial support for extended throwing mod

master
Ginger88895 2016-07-04 21:12:29 +08:00
parent f1a722206f
commit dbc3e35052
1 changed files with 2 additions and 1 deletions

View File

@ -78,5 +78,6 @@ potions.register_arrow = function(potion_name, name, hname, potion_use_funct, de
}
})
arrows[#arrows+1] = {potion_name.."_arrow", potion_name.."_arrow_entity"}
if arrows~=nil then arrows[#arrows+1] = {potion_name.."_arrow", potion_name.."_arrow_entity"} end
if throwing_arrows~=nil then throwing_arrows[#throwing_arrows+1] = {potion_name.."_arrow", potion_name.."_arrow_entity"} end
end