mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-28 05:21:05 +01:00
Fix typo, set use_texture_alpha = clip for all rail
This commit is contained in:
parent
4cdb9fd876
commit
d165e0d2ed
2 changed files with 2 additions and 1 deletions
|
@ -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 a new issue