Fix crate transparency (#87)

This commit is contained in:
Buckaroo Banzai 2023-05-23 20:32:46 +02:00 committed by GitHub
parent fc11dce128
commit 87db1b33ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -88,7 +88,7 @@ local store_digtron = function(pos, clicker, loaded_node_name, protected)
meta:set_string("infotext", titlestring .. "\n" .. protection_suffix) meta:set_string("infotext", titlestring .. "\n" .. protection_suffix)
end end
local use_texture_alpha = minetest.features.use_texture_alpha_string_modes and "opaque" or nil local use_texture_alpha = minetest.features.use_texture_alpha_string_modes and "blend" or nil
minetest.register_node("digtron:empty_crate", { minetest.register_node("digtron:empty_crate", {
description = S("Digtron Crate (Empty)"), description = S("Digtron Crate (Empty)"),