Rename stat (since 1.17)
This commit is contained in:
parent
977ab794d9
commit
f3bcbbd6ba
1 changed files with 1 additions and 1 deletions
|
@ -271,7 +271,7 @@ class MinecraftCollector(object):
|
||||||
damage_taken.add_sample('damage_taken',value=value,labels={'player':name})
|
damage_taken.add_sample('damage_taken',value=value,labels={'player':name})
|
||||||
elif stat == "minecraft:damage_dealt":
|
elif stat == "minecraft:damage_dealt":
|
||||||
damage_dealt.add_sample('damage_dealt',value=value,labels={'player':name})
|
damage_dealt.add_sample('damage_dealt',value=value,labels={'player':name})
|
||||||
elif stat == "minecraft:play_one_minute":
|
elif stat == "minecraft:play_time":
|
||||||
player_playtime.add_sample('player_playtime',value=value,labels={'player':name})
|
player_playtime.add_sample('player_playtime',value=value,labels={'player':name})
|
||||||
elif stat == "minecraft:walk_one_cm":
|
elif stat == "minecraft:walk_one_cm":
|
||||||
cm_traveled.add_sample("cm_traveled",value=value,labels={'player':name,'method':"walking"})
|
cm_traveled.add_sample("cm_traveled",value=value,labels={'player':name,'method':"walking"})
|
||||||
|
|
Loading…
Reference in a new issue