Fix typo, set use_texture_alpha = clip for all rail
This commit is contained in:
parent
34a0b06acb
commit
bbef011de1
|
@ -222,7 +222,7 @@ local function update_rail_connections(pos, opt)
|
||||||
local node = minetest.get_node(pos)
|
local node = minetest.get_node(pos)
|
||||||
local nodedef = minetest.registered_nodes[node.name]
|
local nodedef = minetest.registered_nodes[node.name]
|
||||||
if not nodedef or not nodedef._mcl_minecarts then
|
if not nodedef or not nodedef._mcl_minecarts then
|
||||||
minetest.log("warning", "attemting to rail connect to "..node.name)
|
minetest.log("warning", "attempting to rail connect to "..node.name)
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -157,6 +157,7 @@ local BASE_DEF = {
|
||||||
sounds = mcl_sounds.node_sound_metal_defaults(),
|
sounds = mcl_sounds.node_sound_metal_defaults(),
|
||||||
is_ground_content = true,
|
is_ground_content = true,
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
|
use_texture_alpha = "clip",
|
||||||
collision_box = {
|
collision_box = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
fixed = { -8/16, -8/16, -8/16, 8/16, -7/16, 8/15 }
|
fixed = { -8/16, -8/16, -8/16, 8/16, -7/16, 8/15 }
|
||||||
|
|
Loading…
Reference in New Issue