1
0

Fix deprecated use of use_texture_alpha

To avoid warning messages at boot time.
Breaks Minetest 5.4< compatibility.
Este cometimento está contido em:
2021-02-28 13:46:45 +01:00
ascendente 422d94e311
cometimento ac8e6ca8f7

Ver ficheiro

@@ -69,7 +69,7 @@ minetest.register_node("bobblocks:block_off", {
paramtype2 = "color", paramtype2 = "color",
palette = "unifieddyes_palette_extended.png", palette = "unifieddyes_palette_extended.png",
is_ground_content = false, is_ground_content = false,
use_texture_alpha = true, use_texture_alpha = "blend",
groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3,not_in_creative_inventory=1, ud_param2_colorable = 1}, groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3,not_in_creative_inventory=1, ud_param2_colorable = 1},
mesecons = {conductor={ mesecons = {conductor={
state = mesecon.state.off, state = mesecon.state.off,
@@ -114,7 +114,7 @@ minetest.register_node("bobblocks:pole_off", {
palette = "unifieddyes_palette_extended.png", palette = "unifieddyes_palette_extended.png",
sunlight_propagates = true, sunlight_propagates = true,
is_ground_content = false, is_ground_content = false,
use_texture_alpha = true, use_texture_alpha = "blend",
sounds = default.node_sound_glass_defaults(), sounds = default.node_sound_glass_defaults(),
light_source = LIGHT_MAX-10, light_source = LIGHT_MAX-10,
groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3,not_in_creative_inventory=1, ud_param2_colorable = 1}, groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3,not_in_creative_inventory=1, ud_param2_colorable = 1},
@@ -170,7 +170,7 @@ minetest.register_node("bobblocks:wavyblock_off", {
paramtype2 = "color", paramtype2 = "color",
palette = "unifieddyes_palette_extended.png", palette = "unifieddyes_palette_extended.png",
is_ground_content = false, is_ground_content = false,
use_texture_alpha = true, use_texture_alpha = "blend",
groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3,not_in_creative_inventory=1, ud_param2_colorable = 1}, groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3,not_in_creative_inventory=1, ud_param2_colorable = 1},
mesecons = {conductor= mesecons = {conductor=
{ {