Skip to content

Commit

Permalink
(0.14.38) Check if player IS a fake player to cancel function rather …
Browse files Browse the repository at this point in the history
…than NOT a fake player.
  • Loading branch information
Frustrated-Programmer committed Feb 9, 2025
1 parent a58295a commit 877b477
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
execute if entity @s[tag=!do2.fakePlayer] run return 0
execute if entity @s[tag=do2.fakePlayer] run return 0

scoreboard players set @s do2.trigger.logs 0
scoreboard players set @s do2.trigger.version 0
scoreboard players set @s do2.trigger.map 0
scoreboard players set @s do2.trigger.playsound 0
scoreboard players set @s do2.trigger.gui 0
scoreboard players set @s do2.trigger.settings 0

scoreboard players enable @s[tag=do2.staff] do2.trigger.logs
scoreboard players enable @s do2.trigger.version
scoreboard players enable @s do2.trigger.map
scoreboard players enable @s do2.trigger.playsound
scoreboard players enable @s do2.trigger.gui
scoreboard players set @s do2.trigger.settings 0
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.37
# DATAPACK VERSION NUMBER: 0.14.38

tellraw @s ["",{"text":"The §o§n§aBrilliance Datapack§r's version is: [§b0.14.37§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.38§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 877b477

Please sign in to comment.