Skip to content

Commit

Permalink
Fix voiceChat check (if voicechat is installed, the score is 5, not 1…
Browse files Browse the repository at this point in the history
…) (0.14.25)
  • Loading branch information
Bavadin authored Jan 21, 2025
1 parent 1ec4a6b commit 6ed1060
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
function do2:external/voice_chat/check

# If they have VoiceChat mod, do nothing.
execute if score @s do2.utility.voiceChat matches 1 run return 0
execute unless score @s do2.utility.voiceChat matches 0 run return 0

# If they already have the tag, do nothing.
execute if entity @s[tag=do2.tags.audio.enabled] run return 0
Expand Down
4 changes: 2 additions & 2 deletions Brilliance Datapack/data/do2/functions/version.mcfunction
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# DATAPACK VERSION NUMBER: 0.14.24
# DATAPACK VERSION NUMBER: 0.14.25

tellraw @s ["",{"text":"The §o§n§aBrilliance Datapack§r's version is: [§b0.14.24§r] Check latest version "},{"text":"§o§b§nhere§r","clickEvent":{"action":"open_url","value":"https://github.com/trackedout/Brilliance/blob/main/Brilliance%20Datapack/data/do2/functions/version.mcfunction"}},{"text":"."}]
tellraw @s ["",{"text":"The §o§n§aBrilliance Datapack§r's version is: [§b0.14.25§r] Check latest version "},{"text":"§o§b§nhere§r","clickEvent":{"action":"open_url","value":"https://github.com/trackedout/Brilliance/blob/main/Brilliance%20Datapack/data/do2/functions/version.mcfunction"}},{"text":"."}]

0 comments on commit 6ed1060

Please sign in to comment.