From 63c45107d4bc8ed3d9d6d5beb1a7a9b07c390a37 Mon Sep 17 00:00:00 2001 From: Markus Freitag Date: Sat, 11 Jan 2020 17:47:00 +0100 Subject: [PATCH] Return updated metric --- minecraft_exporter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/minecraft_exporter.py b/minecraft_exporter.py index 29d502c..cba4564 100644 --- a/minecraft_exporter.py +++ b/minecraft_exporter.py @@ -183,7 +183,7 @@ class MinecraftCollector(object): player_used_crafting_table.add_sample('player_used_crafting_table',value=value,labels={'player':name}) elif stat == "questsFinished": player_quests_finished.add_sample('player_quests_finished',value=value,labels={'player':name}) - return [blocks_mined,blocks_picked_up,player_deaths,player_jumps,cm_traveled,player_xp_total,player_current_level,player_food_level,player_health,player_score,entities_killed,damage_taken,damage_dealt,blocks_crafted,player_playtime,player_advancements,player_slept,player_used_crafting_table] + return [blocks_mined,blocks_picked_up,player_deaths,player_jumps,cm_traveled,player_xp_total,player_current_level,player_food_level,player_health,player_score,entities_killed,damage_taken,damage_dealt,blocks_crafted,player_playtime,player_advancements,player_slept,player_used_crafting_table,player_quests_finished] def collect(self): for player in self.get_players():