Fix deprecation warnings (#44)

Co-authored-by: sys4 <bricassa@sys4.fr>
This commit is contained in:
sys4-fr
2021-04-18 16:30:05 +02:00
committed by GitHub
parent fb3c358f74
commit fb6b666895
4 changed files with 7 additions and 7 deletions

View File

@ -2007,7 +2007,8 @@ local wormhole_nodedef_default = {
a = 160, r = 128, g = 0, b = 80
},
sunlight_propagates = true,
use_texture_alpha = true,
use_texture_alpha = minetest.features.use_texture_alpha_string_modes
and "blend" or true,
walkable = false,
diggable = false,
pointable = false,
@ -2015,7 +2016,6 @@ local wormhole_nodedef_default = {
is_ground_content = false,
drop = "",
light_source = 5,
alpha = 192,
node_box = {
type = "fixed",
fixed = {