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

fix crash when no default

This commit is contained in:
tenplus1 2023-01-06 10:06:09 +00:00
parent 6162be9910
commit bceda9c75f

View File

@ -279,7 +279,7 @@ minetest.register_node(":mobs:cobweb", {
walkable = false,
groups = {snappy = 1, disable_jump = 1},
drop = "farming:string",
sounds = default.node_sound_leaves_defaults()
sounds = default and default.node_sound_leaves_defaults()
})
minetest.register_craft({