From: RealBadAngel Date: Sun, 27 Jan 2013 09:27:38 +0000 (+0100) Subject: bug fix X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=e9050c43fd1c2d635006cb99800bbc7a2f52122c;p=zefram%2Fminetest%2Ftechnic.git bug fix --- diff --git a/technic/technic/gold_chest.lua b/technic/technic/gold_chest.lua index 4fd5316..b93b66f 100644 --- a/technic/technic/gold_chest.lua +++ b/technic/technic/gold_chest.lua @@ -128,7 +128,7 @@ minetest.register_node("technic:gold_chest".. state, { tiles = {"technic_gold_chest_top.png", "technic_gold_chest_top.png", "technic_gold_chest_side.png", "technic_gold_chest_side.png", "technic_gold_chest_side.png", "technic_gold_chest_front"..state..".png"}, paramtype2 = "facedir", - groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2,tubedevice=1,tubedevice_receiver=1}, + groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2,tubedevice=1,tubedevice_receiver=1,not_in_creative_inventory=1}, tube={insert_object=function(pos,node,stack,direction) local meta=minetest.env:get_meta(pos) local inv=meta:get_inventory() @@ -320,7 +320,7 @@ minetest.register_node("technic:gold_locked_chest".. state, { "technic_gold_chest_side.png", "technic_gold_chest_side.png", "technic_gold_chest_locked"..state..".png"}, paramtype2 = "facedir", drop = "technic:gold_locked_chest", - groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2,tubedevice=1,tubedevice_receiver=1}, + groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2,tubedevice=1,tubedevice_receiver=1,not_in_creative_inventory=1}, tube={insert_object=function(pos,node,stack,direction) local meta=minetest.env:get_meta(pos) local inv=meta:get_inventory()