1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-09-30 00:10:33 +02:00

Add class switches to inventory

This commit is contained in:
LeMagnesium 2015-08-17 02:00:35 +02:00
parent ddde0e4e54
commit fce6396f62

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")