Add class switches to inventory

This commit is contained in:
LeMagnesium 2015-08-17 02:00:35 +02:00
parent ddde0e4e54
commit fce6396f62
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ function pclasses.register_class_switch(cname, color)
sunlight_propagates = true,
light_source = 10,
sounds = default.node_sound_glass_defaults(),
groups = {not_in_creative_inventory=1, cracky = 1},
groups = {cracky = 1},
after_place_node = function(pos)
pos.y = pos.y + 1
local obj = minetest.add_entity(pos, "pclasses:item")