Skip to content

Commit

Permalink
fixed broken files
Browse files Browse the repository at this point in the history
  • Loading branch information
Frustrated-Programmer committed Dec 21, 2024
1 parent dc12db6 commit af74feb
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
execute unless @s[gamemode=spectator] run return 0
execute if @s[tag=do2.staff] run return 0
execute if @s[tag=do2.fakePlayer] run return 0
execute unless entity @s[gamemode=spectator] run return 0
execute if entity @s[tag=do2.staff] run return 0
execute if entity @s[tag=do2.fakePlayer] run return 0


tp @s @p[team=do2.players]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# While game is active, force spectating.
execute as @a[team=do2.ghosts] run do2:spectating_controller/force_spectate
execute if score $dungeon do2.run.active matches 2 as @a[team=do2.spectators] run do2:spectating_controller/force_spectate
execute as @a[team=do2.ghosts] run function do2:spectating_controller/force_spectate
execute if score $dungeon do2.run.active matches 2 as @a[team=do2.spectators] run function do2:spectating_controller/force_spectate


# Enforce spectators to stay in lobby. (INSTANCE ONLY)
Expand All @@ -10,6 +10,6 @@ execute as @a[team=do2.spectators] if score $dungeon do2.run.active matches 3 at


# Game isn't active YET.
execute if score $dungeon do2.run.active matches 0..1 run as @a[gamemode=spectator,tag=!do2.fakePlayer] at @s run function do2:spectating_controller/stay_in_lobby
execute if score $dungeon do2.run.active matches 0..1 as @a[gamemode=spectator,tag=!do2.fakePlayer] at @s run function do2:spectating_controller/stay_in_lobby
# Game is over, but purchases are private.
execute if score $dungeon do2.run.active matches 3 run as @a[team=do2.spectators,tag=!do2.fakePlayer] at @s run function do2:spectating_controller/stay_in_lobby
execute if score $dungeon do2.run.active matches 3 as @a[team=do2.spectators,tag=!do2.fakePlayer] at @s run function do2:spectating_controller/stay_in_lobby
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.13.20
# DATAPACK VERSION NUMBER: 0.13.21

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

Please sign in to comment.