diff --git a/.luacheckrc b/.luacheckrc index 6e774c9..d05b724 100644 --- a/.luacheckrc +++ b/.luacheckrc @@ -1,11 +1,13 @@ unused_args = false -allow_defined_top = true +allow_defined_top = false globals = { "minetest", "player_api", "armor", - "dye" + "dye", + "closet", + "vanity" } read_globals = { diff --git a/vanity/vanity.lua b/vanity/vanity.lua index e39b692..0493cab 100644 --- a/vanity/vanity.lua +++ b/vanity/vanity.lua @@ -127,6 +127,7 @@ minetest.register_node("vanity:vanity", { drawtype = "mesh", mesh = "vanity_set.b3d", tiles = {"vanity_vanity.png"}, + use_texture_alpha = "clip", paramtype2 = "facedir", is_ground_content = false, groups = {cracky=3, wood=1},