Hide command block from creative inv
This commit is contained in:
parent
0b0c3701b5
commit
9816f1ea47
|
@ -181,7 +181,7 @@ minetest.register_node("mesecons_commandblock:commandblock_off", {
|
||||||
description = "Command Block",
|
description = "Command Block",
|
||||||
tiles = {"jeija_commandblock_off.png"},
|
tiles = {"jeija_commandblock_off.png"},
|
||||||
inventory_image = minetest.inventorycube("jeija_commandblock_off.png"),
|
inventory_image = minetest.inventorycube("jeija_commandblock_off.png"),
|
||||||
groups = {mesecon_effector_off=1},
|
groups = {mesecon_effector_off=1, not_in_creative_inventory},
|
||||||
drop = "",
|
drop = "",
|
||||||
diggable = false,
|
diggable = false,
|
||||||
can_dig = function() return false end,
|
can_dig = function() return false end,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user