Skip to content

Commit

Permalink
check for agronet & instances 5s after load, jic.
Browse files Browse the repository at this point in the history
  • Loading branch information
Frustrated-Programmer committed Dec 23, 2024
1 parent bdbe281 commit b0352d0
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@ execute as @a[scores={do2.logs.datapack_setup=1..}] run tellraw @s "§f[§9B§r]
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
schedule function do2:agronet/test_for_agronet 5s append
scoreboard objectives add do2.utility.onInstance dummy "Checking if this Brilliance is loaded on an instance"
execute unless score $dungeon do2.utility.onInstance matches 0.. run scoreboard players set $dungeon do2.utility.onInstance 0
function do2:agronet/test_for_instance
schedule function do2:agronet/test_for_instance 5s append

# Setup scoreboard
function do2:scoreboard/setup/all
Expand Down

0 comments on commit b0352d0

Please sign in to comment.