1
0
mirror of https://github.com/minetest/minetest_game.git synced 2025-06-28 04:40:22 +02:00

Fix deprecated alpha / use_texture_alpha use

This commit is contained in:
sfan5
2021-02-06 15:40:26 +01:00
parent c1b236b4e3
commit 08b13c9efb
12 changed files with 14 additions and 4 deletions

View File

@ -31,6 +31,7 @@ function beds.register_bed(name, def)
wield_image = def.wield_image,
drawtype = "nodebox",
tiles = def.tiles.bottom,
use_texture_alpha = "clip",
paramtype = "light",
paramtype2 = "facedir",
is_ground_content = false,
@ -150,6 +151,7 @@ function beds.register_bed(name, def)
minetest.register_node(name .. "_top", {
drawtype = "nodebox",
tiles = def.tiles.top,
use_texture_alpha = "clip",
paramtype = "light",
paramtype2 = "facedir",
is_ground_content = false,