1
0
mirror of https://codeberg.org/tenplus1/mobs_monster.git synced 2024-12-22 17:00:26 +01:00

tweak obsidian flan node breakage

This commit is contained in:
tenplus1 2020-06-21 20:52:52 +01:00
parent 475e0f5624
commit a6b6795eb4

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