Skip to content

Commit

Permalink
Fix #35 (Bossbar not being removed when uninstalling)
Browse files Browse the repository at this point in the history
  • Loading branch information
Seeloewen committed Nov 25, 2024
1 parent f499e76 commit 0a4670b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ scoreboard objectives remove rig_RandomTimeValue
scoreboard objectives remove rig_CanGetItems
scoreboard objectives remove rig_TimerBossbar
scoreboard objectives remove rig_ItemSound
bossbar remove rigtimer

#Post that datapack was disabled
tellraw @a ["",{"text":"\nRandom Item Giver was successfully disabled.","color":"green"},{"text":"\n"},{"text":"[","color":"gray","clickEvent":{"action":"run_command","value":"/datapack enable \"file/random-item-giver-1-4-7-mc-1-20-6.zip\""},"hoverEvent":{"action":"show_text","contents":"Enable the datapack again"}},{"text":"\u27a4","color":"gold","clickEvent":{"action":"run_command","value":"/datapack enable \"file/random-item-giver-1-4-7-mc-1-20-6.zip\""},"hoverEvent":{"action":"show_text","contents":"Enable the datapack again"}},{"text":"]","color":"gray","clickEvent":{"action":"run_command","value":"/datapack enable \"file/random-item-giver-1-4-7-mc-1-20-6.zip\""},"hoverEvent":{"action":"show_text","contents":"Enable the datapack again"}},{"text":" ","clickEvent":{"action":"run_command","value":"/datapack enable \"file/random-item-giver-1-4-7-mc-1-20-6.zip\""},"hoverEvent":{"action":"show_text","contents":"Enable the datapack again"}},{"text":"Click here to enable it again.","color":"gold","clickEvent":{"action":"run_command","value":"/datapack enable \"file/random-item-giver-1-4-7-mc-1-20-6.zip\""},"hoverEvent":{"action":"show_text","contents":"Enable the datapack again"}}]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ scoreboard objectives remove rig_RandomTimeValue
scoreboard objectives remove rig_CanGetItems
scoreboard objectives remove rig_TimerBossbar
scoreboard objectives remove rig_ItemSound
bossbar remove rigtimer

#Post that datapack was disabled
tellraw @a ["",{"text":"\nRandom Item Giver was successfully disabled.","color":"green"},{"text":"\n"},{"text":"[","color":"gray","clickEvent":{"action":"run_command","value":"/datapack enable \"file/random-item-giver-1-5-1-mc-1-21-3.zip\""},"hoverEvent":{"action":"show_text","contents":"Enable the datapack again"}},{"text":"\u27a4","color":"gold","clickEvent":{"action":"run_command","value":"/datapack enable \"file/random-item-giver-1-5-1-mc-1-21-3.zip\""},"hoverEvent":{"action":"show_text","contents":"Enable the datapack again"}},{"text":"]","color":"gray","clickEvent":{"action":"run_command","value":"/datapack enable \"file/random-item-giver-1-5-1-mc-1-21-3.zip\""},"hoverEvent":{"action":"show_text","contents":"Enable the datapack again"}},{"text":" ","clickEvent":{"action":"run_command","value":"/datapack enable \"file/random-item-giver-1-5-1-mc-1-21-3.zip\""},"hoverEvent":{"action":"show_text","contents":"Enable the datapack again"}},{"text":"Click here to enable it again.","color":"gold","clickEvent":{"action":"run_command","value":"/datapack enable \"file/random-item-giver-1-5-1-mc-1-21-3.zip\""},"hoverEvent":{"action":"show_text","contents":"Enable the datapack again"}}]
Expand Down

0 comments on commit 0a4670b

Please sign in to comment.