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:
2
cow.lua
2
cow.lua
@ -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({
|
||||
|
Reference in New Issue
Block a user