diff --git a/api.lua b/api.lua index 1b250ab..065d4ea 100644 --- a/api.lua +++ b/api.lua @@ -367,6 +367,10 @@ function mcl_decor.register_curtains(color, desc, wool, wooltile, dye, colorgrou if not success then return itemstack end + -- V this one SHOULD fix infinite curtains problem, but it doesn't V + if not minetest.is_creative_enabled(placer:get_player_name()) then + itemstack:take_item() + end end end, on_rightclick = function(pos, node, _, itemstack)