From 37daba75ee10b6ed07fd9946d7690c336c755568 Mon Sep 17 00:00:00 2001 From: oilboi <47129783+oilboi@users.noreply.github.com> Date: Mon, 29 Jun 2020 03:41:52 -0400 Subject: [PATCH] Remove debug info --- mods/redstone/init.lua | 3 --- mods/redstone/piston.lua | 3 --- 2 files changed, 6 deletions(-) diff --git a/mods/redstone/init.lua b/mods/redstone/init.lua index 46a29e6..80b2fa4 100644 --- a/mods/redstone/init.lua +++ b/mods/redstone/init.lua @@ -148,7 +148,6 @@ end local function capacitor_pathfind(source,mem_map) - --redstone and torch for _,order in pairs(order) do i = add_vec(source,order) @@ -188,7 +187,6 @@ local function capacitor_sniff(pos) if temp_pool then temp_pool.capacitor = 1 if capacitor_table[temp_pool.name] then - --print("doing") swap_node(new_vec(x,y,z),{name=capacitor_table[temp_pool.name].on}) redstone.update(new_vec(x,y,z)) end @@ -204,7 +202,6 @@ local function capacitor_sniff(pos) if temp_pool then temp_pool.capacitor = 0 if capacitor_table[temp_pool.name] then - --print(temp_pool.name) swap_node(new_vec(x,y,z),{name=capacitor_table[temp_pool.name].off}) redstone.update(new_vec(x,y,z)) end diff --git a/mods/redstone/piston.lua b/mods/redstone/piston.lua index 39ce747..9f52a89 100644 --- a/mods/redstone/piston.lua +++ b/mods/redstone/piston.lua @@ -85,7 +85,6 @@ local function push_nodes(pos,dir) if space == true and next(move_index) then if table.getn(move_index) == 1 and minetest.get_item_group(move_index[1].name, "falling_node") > 0 then for i = 1,table.getn(move_index) do - print("trying") move_index[i].pos = vector.add(move_index[i].pos,dir) minetest.set_node(move_index[i].pos,{name="air"}) @@ -555,7 +554,6 @@ minetest.register_lbm({ ]] local function sticky_piston_pull_nodes(pos,dir) - print("test") local move_index = {} local index_pos = vector.add(pos,dir) @@ -563,7 +561,6 @@ local function sticky_piston_pull_nodes(pos,dir) local param2 = node.param2 local def = minetest.registered_nodes[node.name] local name = node.name - print(name) local pull = ((excluded_mods[def.mod_origin] ~= true) and (excluded_nodes[name] ~= true)) --if it can be pulled pull it if pull and name ~= "air" then -- 2.44.0