add alias grass -> function

This commit is contained in:
unknown 2022-01-18 22:38:26 -05:00
parent 2abe0851a3
commit a75bfbf2d6

View File

@ -90,6 +90,11 @@ function sound_api.node_sound_dirt_defaults(table)
end
end
--return dirt as some games use dirt vs grass
function sound_api.node_sound_grass_defaults(table)
return sound_api.node_sound_dirt_defaults(table)
end
function sound_api.node_sound_sand_defaults(table)
if minetest.get_modpath("default") then
return default.node_sound_sand_defaults(table)