tweak obsidian flan node breakage

This commit is contained in:
tenplus1 2020-06-21 20:52:52 +01:00
parent 475e0f5624
commit a6b6795eb4
1 changed files with 3 additions and 1 deletions

View File

@ -293,7 +293,9 @@ mobs:register_arrow("mobs_monster:obsidian_arrow", {
texture = def.tiles[1]
end
if def.groups and def.groups.level == 2 then
-- do not break obsidian or diamond blocks or unbreakable nodes
if (def.groups and def.groups.level and def.groups.level > 1)
or def.groups.unbreakable then
return
end