Skip to content

Commit

Permalink
Moved onServer setup to before setup/all (0.13.3)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bavadin authored Dec 14, 2024
1 parent 73159e4 commit f759891
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
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
Expand Down Expand Up @@ -31,10 +37,6 @@ 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
Expand Down Expand Up @@ -89,6 +91,5 @@ 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
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.2
# DATAPACK VERSION NUMBER: 0.13.3

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

0 comments on commit f759891

Please sign in to comment.