fix crash when no default

This commit is contained in:
tenplus1 2023-01-06 10:06:09 +00:00
parent 6162be9910
commit bceda9c75f
1 changed files with 1 additions and 1 deletions

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({