forked from Mirrorlandia_minetest/digistuff
fix deprecation
This commit is contained in:
parent
29e999450c
commit
f2bb77f249
@ -63,6 +63,7 @@ digistuff.button_get_rules = function(node)
|
|||||||
end
|
end
|
||||||
|
|
||||||
minetest.register_node("digistuff:button", {
|
minetest.register_node("digistuff:button", {
|
||||||
|
use_texture_alpha = "clip",
|
||||||
drawtype = "nodebox",
|
drawtype = "nodebox",
|
||||||
tiles = {
|
tiles = {
|
||||||
"digistuff_digibutton_sides.png",
|
"digistuff_digibutton_sides.png",
|
||||||
@ -124,6 +125,7 @@ minetest.register_node("digistuff:button", {
|
|||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node("digistuff:button_off", {
|
minetest.register_node("digistuff:button_off", {
|
||||||
|
use_texture_alpha = "clip",
|
||||||
drawtype = "nodebox",
|
drawtype = "nodebox",
|
||||||
tiles = {
|
tiles = {
|
||||||
"digistuff_digibutton_sides.png",
|
"digistuff_digibutton_sides.png",
|
||||||
@ -168,6 +170,7 @@ minetest.register_node("digistuff:button_off", {
|
|||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node("digistuff:button_off_pushed", {
|
minetest.register_node("digistuff:button_off_pushed", {
|
||||||
|
use_texture_alpha = "clip",
|
||||||
drawtype = "nodebox",
|
drawtype = "nodebox",
|
||||||
tiles = {
|
tiles = {
|
||||||
"digistuff_digibutton_sides.png",
|
"digistuff_digibutton_sides.png",
|
||||||
@ -213,6 +216,7 @@ minetest.register_node("digistuff:button_off_pushed", {
|
|||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node("digistuff:button_on", {
|
minetest.register_node("digistuff:button_on", {
|
||||||
|
use_texture_alpha = "clip",
|
||||||
drawtype = "nodebox",
|
drawtype = "nodebox",
|
||||||
tiles = {
|
tiles = {
|
||||||
"digistuff_digibutton_sides.png",
|
"digistuff_digibutton_sides.png",
|
||||||
@ -259,6 +263,7 @@ minetest.register_node("digistuff:button_on", {
|
|||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node("digistuff:button_on_pushed", {
|
minetest.register_node("digistuff:button_on_pushed", {
|
||||||
|
use_texture_alpha = "clip",
|
||||||
drawtype = "nodebox",
|
drawtype = "nodebox",
|
||||||
tiles = {
|
tiles = {
|
||||||
"digistuff_digibutton_sides.png",
|
"digistuff_digibutton_sides.png",
|
||||||
|
Loading…
Reference in New Issue
Block a user