Skip to content

Commit

Permalink
Check for onServer before datapack setup.
Browse files Browse the repository at this point in the history
  • Loading branch information
Frustrated-Programmer committed Dec 14, 2024
1 parent 7091af5 commit 9c0eccc
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ execute as @a[scores={do2.logs.datapack_setup=1..}] run tellraw @s "§f[§9B§r]
# - End Log -

# Check if I'm on the server or not.
scoreboard players set $dungeon do2.utility.onServer 0
scoreboard objectives add do2.utility.onServer dummy "Checking if this Brilliance is loaded on the server"
execute unless score $dungeon do2.utility.onServer matches 0.. run scoreboard players set $dungeon do2.utility.onServer 0
function do2:agronet/test_for_agronet
# Setup scoreboard
function do2:scoreboard/setup/all
Expand Down

0 comments on commit 9c0eccc

Please sign in to comment.