From 6f5a721b19cd1a3a058969d395ea39a890b21aea Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Mon, 9 Jan 2017 05:04:09 +0100 Subject: [PATCH] Remove redundant frosted ice from creative --- mods/default/nodes.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mods/default/nodes.lua b/mods/default/nodes.lua index 81faaf4f9d..ef5b0e1896 100644 --- a/mods/default/nodes.lua +++ b/mods/default/nodes.lua @@ -2070,6 +2070,10 @@ for i=0,3 do end end end + local creative = 1 + if i == 0 then + creative = 0 + end minetest.register_node("default:frosted_ice_"..i, { description = "Frosted Ice", drawtype = "glasslike", @@ -2078,7 +2082,7 @@ for i=0,3 do paramtype = "light", use_texture_alpha = true, stack_max = 64, - groups = {cracky=2, frosted_ice=1}, + groups = {cracky=2, frosted_ice=1, not_in_creative_inventory=creative}, drop = "", sounds = default.node_sound_glass_defaults(), on_construct = function(pos)