Revert "Revert "remove monitoring code and deps""

This reverts commit 48d251a33821a2b6f9f826e6d8fe7ca601e3e903.
This commit is contained in:
Thomas Rudin
2019-04-29 20:49:22 +02:00
parent 8b457ef770
commit 9ca1f1070a
3 changed files with 0 additions and 42 deletions

View File

@ -4,15 +4,6 @@ local S = technic.getter
local tube_entry = "^pipeworks_tube_connection_metallic.png"
local cable_entry = "^technic_cable_connection_overlay.png"
local has_monitoring = minetest.get_modpath("monitoring")
local metric_dig_count
if has_monitoring then
metric_dig_count = monitoring.counter("technic_quarry_dig_count",
"number of technic quarry digs")
end
minetest.register_craft({
recipe = {
{"technic:carbon_plate", "pipeworks:filter", "technic:composite_plate"},
@ -144,9 +135,6 @@ local function quarry_handle_purge(pos)
end
local function quarry_run(pos, node)
if metric_dig_count ~= nil then
metric_dig_count.inc()
end
local meta = minetest.get_meta(pos)
local owner = meta:get_string("owner")