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:
parent
475e0f5624
commit
a6b6795eb4
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user