Skip to content

Commit

Permalink
📈 convert bossfight non-root telemetry tags to string format
Browse files Browse the repository at this point in the history
  • Loading branch information
TheAfroOfDoom committed Oct 22, 2024
1 parent acb0415 commit d870a1a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ execute unless score #omegaflowey.telemetry.enabled omegaflowey.global.flag matc

execute if score #omegaflowey.telemetry.bossfight.basetime omegaflowey.global.flag matches -1 run return 0

$data modify storage omegaflowey:telemetry data.bossfight[-1] append value { name: "$(name)", type: "end" }
$data modify storage omegaflowey:telemetry.temp bossfight_next set value { name: "$(name)", "type": "end" }
function omegaflowey.main:telemetry/bossfight/tag/shared
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ execute unless score #omegaflowey.telemetry.enabled omegaflowey.global.flag matc

execute if score #omegaflowey.telemetry.bossfight.basetime omegaflowey.global.flag matches -1 run return 0

$data modify storage omegaflowey:telemetry data.bossfight[-1] append value { name: "$(name)", type: "instant" }
$data modify storage omegaflowey:telemetry.temp bossfight_next set value { name: "$(name)", type: "instant" }
function omegaflowey.main:telemetry/bossfight/tag/shared
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ execute unless score #omegaflowey.telemetry.enabled omegaflowey.global.flag matc

execute if score #omegaflowey.telemetry.bossfight.basetime omegaflowey.global.flag matches -1 run return 0

$data modify storage omegaflowey:telemetry data.bossfight[-1] append value { name: "$(name)", type: "start" }
$data modify storage omegaflowey:telemetry.temp bossfight_next set value { name: "$(name)", "type": "start" }
function omegaflowey.main:telemetry/bossfight/tag/shared

0 comments on commit d870a1a

Please sign in to comment.