diff --git a/Brilliance Datapack/data/do2/functions/events/on_datapack_load.mcfunction b/Brilliance Datapack/data/do2/functions/events/on_datapack_load.mcfunction index 19f8c52f..458045fe 100644 --- a/Brilliance Datapack/data/do2/functions/events/on_datapack_load.mcfunction +++ b/Brilliance Datapack/data/do2/functions/events/on_datapack_load.mcfunction @@ -2,12 +2,6 @@ execute as @a[scores={do2.logs.datapack_setup=1..}] run tellraw @s "§f[§9B§r]: Datapack loaded." # - End Log - - -# Check if I'm on the server or not. -scoreboard players set $dungeon do2.utility.onServer 0 -function do2:agronet/test_for_agronet - - # Setup scoreboard function do2:scoreboard/setup/all # Setup stats room @@ -37,6 +31,10 @@ time set noon weather clear +# Check if I'm on the server or not. +scoreboard players set $dungeon do2.utility.onServer 0 +function do2:agronet/test_for_agronet + # If server has agronet, than set worldspawn to be the deck area. # Otherwise set worldspawn to be the portal execute if score $dungeon do2.utility.onServer matches 0 run setworldspawn -524 103 2167 @@ -91,5 +89,6 @@ execute if score $dungeon do2.utility.onServer matches 0 run setblock -562 116 1 execute if score $dungeon do2.utility.onServer matches 0 run setblock -564 116 1983 air + # Setup GUI storage function do2:gui/init_storage diff --git a/Brilliance Datapack/data/do2/functions/version.mcfunction b/Brilliance Datapack/data/do2/functions/version.mcfunction index 7619c374..53fbe57b 100644 --- a/Brilliance Datapack/data/do2/functions/version.mcfunction +++ b/Brilliance Datapack/data/do2/functions/version.mcfunction @@ -1,3 +1,3 @@ -# DATAPACK VERSION NUMBER: 0.13.3 +# DATAPACK VERSION NUMBER: 0.13.4 -tellraw @s ["",{"text":"The §o§n§aBrilliance Datapack§r's version is: [§b0.13.3§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.4§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":"."}]