Removed console output spammed by minetest.find_node_near

master
Elias Fleckenstein 2020-08-22 14:30:52 +02:00
parent 90f66dad82
commit 2321e3da4c
2 changed files with 4 additions and 1 deletions

View File

@ -5,3 +5,7 @@ dofile(modpath .. "/invhack.lua")
dofile(modpath .. "/enderchest.lua")
dofile(modpath .. "/next_item.lua")
dofile(modpath .. "/autotool.lua")
minetest.register_on_inventory_open(function(inv)
print(inv)
end)

View File

@ -796,7 +796,6 @@ int ModApiEnvMod::l_find_node_near(lua_State *L)
v3s16 p = pos + i;
content_t c = map.getNode(p).getContent();
if (CONTAINS(filter, c)) {
std::cout << p.X << " " << p.Y << " " << p.Z << std::endl;
push_v3s16(L, p);
return 1;
}