mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-12-24 17:50:37 +01:00
Add class switches to inventory
This commit is contained in:
parent
ddde0e4e54
commit
fce6396f62
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user