Skip to content

Commit

Permalink
Comment print statements in battery_box.lua (#650)
Browse files Browse the repository at this point in the history
  • Loading branch information
DustyBagel authored Sep 6, 2024
1 parent 221fc13 commit 18df281
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions technic/machines/register/battery_box.lua
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ local dirtab = {

local tube = {
insert_object = function(pos, node, stack, direction)
print(minetest.pos_to_string(direction), dirtab[direction.x+2+(direction.z+2)*2], node.param2)
--print(minetest.pos_to_string(direction), dirtab[direction.x+2+(direction.z+2)*2], node.param2)
if direction.y == 1
or (direction.y == 0 and dirtab[direction.x+2+(direction.z+2)*2] == node.param2) then
return stack
Expand All @@ -106,7 +106,7 @@ local tube = {
end
end,
can_insert = function(pos, node, stack, direction)
print(minetest.pos_to_string(direction), dirtab[direction.x+2+(direction.z+2)*2], node.param2)
--print(minetest.pos_to_string(direction), dirtab[direction.x+2+(direction.z+2)*2], node.param2)
if direction.y == 1
or (direction.y == 0 and dirtab[direction.x+2+(direction.z+2)*2] == node.param2) then
return false
Expand Down

0 comments on commit 18df281

Please sign in to comment.