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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user