From d165e0d2eddbd444666043f935deb568f40b414c Mon Sep 17 00:00:00 2001 From: teknomunk Date: Sat, 27 Apr 2024 18:19:47 +0000 Subject: [PATCH] Fix typo, set use_texture_alpha = clip for all rail --- mods/ENTITIES/mcl_minecarts/functions.lua | 2 +- mods/ENTITIES/mcl_minecarts/rails.lua | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/mods/ENTITIES/mcl_minecarts/functions.lua b/mods/ENTITIES/mcl_minecarts/functions.lua index 7ad799339..7a44d036c 100644 --- a/mods/ENTITIES/mcl_minecarts/functions.lua +++ b/mods/ENTITIES/mcl_minecarts/functions.lua @@ -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 diff --git a/mods/ENTITIES/mcl_minecarts/rails.lua b/mods/ENTITIES/mcl_minecarts/rails.lua index 8f7fc08b0..1107ce82a 100644 --- a/mods/ENTITIES/mcl_minecarts/rails.lua +++ b/mods/ENTITIES/mcl_minecarts/rails.lua @@ -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 }