]> git.lizzy.rs Git - Crafter.git/commitdiff
Remove chest debug
authoroilboi <47129783+oilboi@users.noreply.github.com>
Sat, 27 Jun 2020 13:31:57 +0000 (09:31 -0400)
committeroilboi <47129783+oilboi@users.noreply.github.com>
Sat, 27 Jun 2020 13:31:57 +0000 (09:31 -0400)
mods/utility/chest.lua

index cdf8718ca3155631c3c192a67b1c5f2918289f87..8cf65ee4d87d24a8539802764e9019aa02a00c71 100644 (file)
@@ -34,7 +34,7 @@ function chest.chest_lid_close(pn)
                        minetest.swap_node(pos,{name = "utility:"..swap,param2=node.param2})
                        minetest.sound_play(sound, {gain = 0.3, pos = pos, max_hear_distance = 10},true)
                end
-               redstone.collect_info(pos)
+               --redstone.collect_info(pos)
        end,pos,swap,node)
 end
 
@@ -197,7 +197,7 @@ function chest.register_chest(name, d)
                                
                        minetest.show_formspec(clicker:get_player_name(),"utility:chest", chest.get_chest_formspec(pos))
                        chest.open_chests[clicker:get_player_name()] = { pos = pos,sound = def.sound_close, swap = name }
-                       redstone.collect_info(pos)
+                       --redstone.collect_info(pos)
                end
                def.on_blast = function(pos)
                        local drops = {}