1
0
mirror of https://codeberg.org/tenplus1/mobs_animal.git synced 2025-07-26 12:00:21 +02:00

fix crash when no default

This commit is contained in:
tenplus1
2023-01-06 10:13:22 +00:00
parent 91a3c1e17d
commit b2f91cc8c3
2 changed files with 5 additions and 4 deletions

View File

@ -252,7 +252,7 @@ minetest.register_node(":mobs:cheeseblock", {
tiles = {"mobs_cheeseblock.png"},
is_ground_content = false,
groups = {oddly_breakable_by_hand = 3},
sounds = default.node_sound_dirt_defaults()
sounds = default and default.node_sound_dirt_defaults()
})
minetest.register_craft({