Skip to content

Commit

Permalink
Fixed #8: Marker entity sometimes persist after activating veinminer
Browse files Browse the repository at this point in the history
  • Loading branch information
oOBoomberOo committed Jun 3, 2021
1 parent 7f73319 commit 9e3c0d0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/boomber/functions/veinminer/veinmine/activate.mcfunction
Expand Up @@ -25,3 +25,5 @@ execute as @e[type=experience_orb, limit=1, tag=!global.ignore, sort=nearest, nb
execute as @e[type=experience_orb, limit=1, tag=!global.ignore, sort=nearest, nbt={Age: 0s}] store result entity @s Value short 1 run scoreboard players operation #xp_value bb.vm.var *= #block_count bb.vm.var

execute at @e[type=marker, tag=boomber.veinminer.miner] if block ~ ~ ~ #boomber:veinminer/ore run function boomber:veinminer/miner/remove

kill @e[type=marker, tag=boomber.veinminer.miner]

0 comments on commit 9e3c0d0

Please sign in to comment.