Skip to content

Commit

Permalink
fix deprecated use of use_texture_alpha
Browse files Browse the repository at this point in the history
  • Loading branch information
OgelGames committed Apr 4, 2021
1 parent 93f2e9f commit 03cd1db
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api.lua
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ function beacon.register_color(name, colorstring, coloring_item)
minetest.register_node("beacon:"..id.."beam", {
description = name.." Beacon Beam",
tiles = {"beacon_beam.png^[multiply:"..colorstring},
use_texture_alpha = "blend",
inventory_image = "beacon_beam.png^[multiply:"..colorstring,
groups = {beacon_beam = 1, not_in_creative_inventory = 1},
drawtype = "mesh",
Expand All @@ -114,6 +115,7 @@ function beacon.register_color(name, colorstring, coloring_item)
minetest.register_node("beacon:"..id.."base", {
description = name.." Beacon Beam Base",
tiles = {"beacon_beambase.png^[multiply:"..colorstring},
use_texture_alpha = "blend",
inventory_image = "beacon_beambase.png^[multiply:"..colorstring,
groups = {beacon_beam = 1, not_in_creative_inventory = 1},
drawtype = "mesh",
Expand Down

0 comments on commit 03cd1db

Please sign in to comment.