Fix typo, set use_texture_alpha = clip for all rail

This commit is contained in:
teknomunk 2024-04-27 18:19:47 +00:00
parent 4d084a60e4
commit 65b8e3025e
2 changed files with 2 additions and 1 deletions

View File

@ -222,7 +222,7 @@ local function update_rail_connections(pos, opt)
local node = minetest.get_node(pos)
local nodedef = minetest.registered_nodes[node.name]
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
end

View File

@ -157,6 +157,7 @@ local BASE_DEF = {
sounds = mcl_sounds.node_sound_metal_defaults(),
is_ground_content = true,
paramtype = "light",
use_texture_alpha = "clip",
collision_box = {
type = "fixed",
fixed = { -8/16, -8/16, -8/16, 8/16, -7/16, 8/15 }