Various little fixes.
* Remove trailing whitespace. * Remove `use_texture_alpha` setting from node definitions, the default value is already the correct one.
This commit is contained in:
parent
4335d0d659
commit
cd12e1d78c
|
@ -150,7 +150,6 @@ minetest.register_node("mcl_composters:composter", {
|
||||||
"mcl_composter_bottom.png",
|
"mcl_composter_bottom.png",
|
||||||
"mcl_composter_side.png"
|
"mcl_composter_side.png"
|
||||||
},
|
},
|
||||||
use_texture_alpha = minetest.features.use_texture_alpha_string_modes and "opaque" or false,
|
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
groups = {
|
groups = {
|
||||||
handy=1, material_wood=1, deco_block=1, dirtifier=1,
|
handy=1, material_wood=1, deco_block=1, dirtifier=1,
|
||||||
|
@ -181,7 +180,6 @@ local function register_filled_composter(level)
|
||||||
"mcl_composter_bottom.png",
|
"mcl_composter_bottom.png",
|
||||||
"mcl_composter_side.png"
|
"mcl_composter_side.png"
|
||||||
},
|
},
|
||||||
use_texture_alpha = minetest.features.use_texture_alpha_string_modes and "opaque" or false,
|
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
groups = {
|
groups = {
|
||||||
handy=1, material_wood=1, deco_block=1, dirtifier=1,
|
handy=1, material_wood=1, deco_block=1, dirtifier=1,
|
||||||
|
@ -217,7 +215,6 @@ end
|
||||||
minetest.register_node("mcl_composters:composter_ready", {
|
minetest.register_node("mcl_composters:composter_ready", {
|
||||||
description = S("Composter") .. "(" .. S("ready for harvest") .. ")",
|
description = S("Composter") .. "(" .. S("ready for harvest") .. ")",
|
||||||
_doc_items_create_entry = false,
|
_doc_items_create_entry = false,
|
||||||
use_texture_alpha = minetest.features.use_texture_alpha_string_modes and "opaque" or false,
|
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
drawtype = "nodebox",
|
drawtype = "nodebox",
|
||||||
node_box = composter_get_nodeboxes(7),
|
node_box = composter_get_nodeboxes(7),
|
||||||
|
|
Loading…
Reference in New Issue