diff --git a/Brilliance Datapack/data/do2/functions/events/on_exit_button.mcfunction b/Brilliance Datapack/data/do2/functions/events/on_exit_button.mcfunction index 99e4ac4e..a9fe2be1 100644 --- a/Brilliance Datapack/data/do2/functions/events/on_exit_button.mcfunction +++ b/Brilliance Datapack/data/do2/functions/events/on_exit_button.mcfunction @@ -4,4 +4,6 @@ execute at @s as @a[scores={do2.logs.gamestate=1..}] run tellraw @s ["",{"text": tag @s remove exitLogTarget # - End Log - +execute as @e[type=player,gamemode=!spectator,limit=1,sort=nearest] run log-event exit-button-pressed 1 + function do2:agronet/shut_down_server diff --git a/Brilliance Datapack/data/do2/functions/version.mcfunction b/Brilliance Datapack/data/do2/functions/version.mcfunction index 89226140..b27b08b7 100644 --- a/Brilliance Datapack/data/do2/functions/version.mcfunction +++ b/Brilliance Datapack/data/do2/functions/version.mcfunction @@ -1,4 +1,4 @@ -# DATAPACK VERSION NUMBER: 0.12.6 +# DATAPACK VERSION NUMBER: 0.12.7 -tellraw @s ["",{"text":"The §o§n§aBrilliance Datapack§r's version is: [§b0.12.6§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.12.7§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":"."}]