More creative fixes

This commit is contained in:
Wuzzy 2017-01-17 01:46:38 +01:00
parent 990ffb139a
commit 5895fcb4b9
2 changed files with 3 additions and 14 deletions

View file

@ -178,12 +178,10 @@ minetest.register_node("mesecons_commandblock:commandblock_off", {
description = "Command Block",
tiles = {"jeija_commandblock_off.png"},
inventory_image = minetest.inventorycube("jeija_commandblock_off.png"),
groups = {mesecon_effector_off=1, not_in_creative_inventory=1},
groups = {mesecon_effector_off=1, not_in_creative_inventory=1, oddly_breakable_by_hand=5},
drop = "",
diggable = false,
can_dig = function() return false end,
on_blast = function() end,
on_destruct = function() end,
on_construct = construct,
is_ground_content = false,
after_place_node = after_place,
@ -197,12 +195,9 @@ minetest.register_node("mesecons_commandblock:commandblock_off", {
minetest.register_node("mesecons_commandblock:commandblock_on", {
tiles = {"jeija_commandblock_on.png"},
groups = {mesecon_effector_on=1, not_in_creative_inventory=1},
groups = {mesecon_effector_on=1, not_in_creative_inventory=1, oddly_breakable_by_hand=5},
drop = "",
diggable = false,
can_dig = function() return false end,
on_blast = function() end,
on_destruct = function() end,
on_construct = construct,
is_ground_content = false,
after_place_node = after_place,