Skip to content

Commit 18df281

Browse files
authoredSep 6, 2024
Comment print statements in battery_box.lua (#650)
1 parent 221fc13 commit 18df281

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎technic/machines/register/battery_box.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ local dirtab = {
9292

9393
local tube = {
9494
insert_object = function(pos, node, stack, direction)
95-
print(minetest.pos_to_string(direction), dirtab[direction.x+2+(direction.z+2)*2], node.param2)
95+
--print(minetest.pos_to_string(direction), dirtab[direction.x+2+(direction.z+2)*2], node.param2)
9696
if direction.y == 1
9797
or (direction.y == 0 and dirtab[direction.x+2+(direction.z+2)*2] == node.param2) then
9898
return stack
@@ -106,7 +106,7 @@ local tube = {
106106
end
107107
end,
108108
can_insert = function(pos, node, stack, direction)
109-
print(minetest.pos_to_string(direction), dirtab[direction.x+2+(direction.z+2)*2], node.param2)
109+
--print(minetest.pos_to_string(direction), dirtab[direction.x+2+(direction.z+2)*2], node.param2)
110110
if direction.y == 1
111111
or (direction.y == 0 and dirtab[direction.x+2+(direction.z+2)*2] == node.param2) then
112112
return false

0 commit comments

Comments
 (0)