We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 76d8f80 + a9d4e55 commit dc59f33Copy full SHA for dc59f33
web/src/components/player-ore-graph.vue
@@ -143,8 +143,8 @@
143
computed: {
144
oreData () {
145
const data = ORES.map(ore => {
146
- const mined = this.player.stats[`minecraft:mined/minecraft:${ore}_ore`] ?? 0
147
- const used = this.player.stats[`minecraft:used/minecraft:${ore}_ore`] ?? 0
+ const mined = (this.player.stats[`minecraft:mined/minecraft:${ore}_ore`] ?? 0) + (this.player.stats[`minecraft:mined/minecraft:deepslate_${ore}_ore`] ?? 0)
+ const used = (this.player.stats[`minecraft:used/minecraft:${ore}_ore`] ?? 0) + (this.player.stats[`minecraft:used/minecraft:deepslate_${ore}_ore`] ?? 0)
148
const net = Math.max(mined - used, 0)
149
return {
150
ore,
0 commit comments