Fix ugly looking fakegrass (#51)

This commit is contained in:
Niklp 2023-02-21 11:30:11 +01:00 committed by GitHub
parent 9c7eb2e502
commit 77f2b0e05b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -76,7 +76,7 @@ building_blocks_stairs("building_blocks:Adobe", {
})
local grasstex = {"[combine:16x16^[noalpha^[colorize:#006400"}
if minetest.get_modpath("default") then
grasstex = minetest.registered_nodes["default:dirt_with_grass"].tiles
grasstex = {"default_grass.png", "default_dirt.png", "default_dirt.png^default_grass_side.png"}
end
building_blocks_stairs("building_blocks:fakegrass", {
tiles = grasstex,