This commit is contained in:
Andrea Plati
2015-09-14 19:44:47 +02:00
parent 28c2d02278
commit 150f862b41
47 changed files with 52 additions and 20 deletions

View File

@ -93,7 +93,7 @@ THROWING_ARROW_ENTITY.on_step = function(self, dtime)
end
if self.lastpos.x~=nil then
if node.name ~= "air" and not string.find(node.name, 'default:grass') and not string.find(node.name, 'default:junglegrass') and not string.find(node.name, 'flowers:') and not string.find(node.name, 'farming:') then
if node.name ~= "air" and not (string.find(node.name, 'grass') and not string.find(node.name, 'dirt')) and not string.find(node.name, 'flowers:') and not string.find(node.name, 'farming:') then
self.object:remove()
boom(self.lastpos)
end