1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-12-20 16:55:19 +01:00

update throwing mod

add spear original + add spear mithril
    improve arrows
This commit is contained in:
2015-09-21 21:41:53 +02:00
parent aa9647ff4e
commit 303a724cda
19 changed files with 204 additions and 10 deletions

View File

@@ -61,7 +61,7 @@ THROWING_ARROW_ENTITY.on_step = function(self, dtime)
return
end
end
if node.name ~= "air" and not string.find(node.name, "water_") then
if node.name ~= "air" and not string.find(node.name, "water_") and not string.find(node.name, 'grass') and not string.find(node.name, 'flowers:') and not string.find(node.name, 'farming:') and not string.find(node.name, 'fire:') then
if node.name ~= "ignore" and minetest.get_item_group(node.name, "unbreakable") == 0
and not minetest.is_protected(pos, self.player)
and node.diggable ~= false then