mirror of
https://github.com/joe7575/techpack.git
synced 2024-08-21 05:34:07 +02:00
print statements removed
This commit is contained in:
parent
f5c66abfd7
commit
99d5e5268a
@ -154,7 +154,6 @@ end
|
|||||||
function smartline.formspec_button_update(meta, fields)
|
function smartline.formspec_button_update(meta, fields)
|
||||||
local fs_data = minetest.deserialize(meta:get_string("fs_data"))
|
local fs_data = minetest.deserialize(meta:get_string("fs_data"))
|
||||||
local row = tonumber(fields._row_ or 1)
|
local row = tonumber(fields._row_ or 1)
|
||||||
print("row", row)
|
|
||||||
if fields._col_ == "cond" then
|
if fields._col_ == "cond" then
|
||||||
fs_data[row].cond = smartline.cond_eval_input(fs_data[row].cond, fields)
|
fs_data[row].cond = smartline.cond_eval_input(fs_data[row].cond, fields)
|
||||||
elseif fields._col_ == "actn" then
|
elseif fields._col_ == "actn" then
|
||||||
|
@ -201,7 +201,6 @@ minetest.register_on_joinplayer(function(player)
|
|||||||
local lPos = {}
|
local lPos = {}
|
||||||
for _,pos in ipairs(get_pos_list(player)) do
|
for _,pos in ipairs(get_pos_list(player)) do
|
||||||
local node = get_node_lvm(pos)
|
local node = get_node_lvm(pos)
|
||||||
print("pos", S(pos), "name", node.name)
|
|
||||||
if node.name == "tubelib:forceload" then
|
if node.name == "tubelib:forceload" then
|
||||||
minetest.forceload_block(pos, true)
|
minetest.forceload_block(pos, true)
|
||||||
lPos[#lPos+1] = pos
|
lPos[#lPos+1] = pos
|
||||||
|
Loading…
Reference in New Issue
Block a user