From 65793514fe614147c5141ae7797be402b5e6d25d Mon Sep 17 00:00:00 2001 From: DS Date: Fri, 9 Apr 2021 20:24:41 +0200 Subject: Fix use_texture_alpha warnings (#563) --- mesecons_hydroturbine/init.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mesecons_hydroturbine') diff --git a/mesecons_hydroturbine/init.lua b/mesecons_hydroturbine/init.lua index afa21e9..afc7434 100644 --- a/mesecons_hydroturbine/init.lua +++ b/mesecons_hydroturbine/init.lua @@ -12,6 +12,7 @@ minetest.register_node("mesecons_hydroturbine:hydro_turbine_off", { "jeija_hydro_turbine_turbine_top_bottom_off.png", "jeija_hydro_turbine_turbine_misc_off.png" }, + use_texture_alpha = minetest.features.use_texture_alpha_string_modes and "opaque" or nil, inventory_image = "jeija_hydro_turbine_inv.png", is_ground_content = false, wield_scale = {x=0.75, y=0.75, z=0.75}, @@ -42,6 +43,7 @@ minetest.register_node("mesecons_hydroturbine:hydro_turbine_on", { { name = "jeija_hydro_turbine_turbine_misc_on.png", animation = {type = "vertical_frames", aspect_w = 256, aspect_h = 32, length = 0.4} } }, + use_texture_alpha = minetest.features.use_texture_alpha_string_modes and "clip" or nil, inventory_image = "jeija_hydro_turbine_inv.png", drop = "mesecons_hydroturbine:hydro_turbine_off 1", groups = {dig_immediate=2,not_in_creative_inventory=1}, -- cgit v1.2.3