From db4d079133806e07fbbaefe975f2e99f52db0af8 Mon Sep 17 00:00:00 2001 From: FrustratedProgrammer Date: Sat, 28 Dec 2024 01:30:25 -0600 Subject: [PATCH] Add a 2 tick delay to calculate_egg_totals function --- .../data/do2/functions/egg_hunt/found_an_egg.mcfunction | 2 +- Brilliance Datapack/data/do2/functions/version.mcfunction | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Brilliance Datapack/data/do2/functions/egg_hunt/found_an_egg.mcfunction b/Brilliance Datapack/data/do2/functions/egg_hunt/found_an_egg.mcfunction index b993258b..b124054d 100644 --- a/Brilliance Datapack/data/do2/functions/egg_hunt/found_an_egg.mcfunction +++ b/Brilliance Datapack/data/do2/functions/egg_hunt/found_an_egg.mcfunction @@ -10,4 +10,4 @@ advancement grant @s only do2:hidden/adventuring/egg_hunt/level_3/3rd_level_show advancement grant @s only do2:hidden/adventuring/egg_hunt/level_3/zz_tango # Calculate total amount of eggs found. (Useful for stats screen only) -function do2:egg_hunt/calculate_total_found +schedule function do2:egg_hunt/calculate_total_found 2t append diff --git a/Brilliance Datapack/data/do2/functions/version.mcfunction b/Brilliance Datapack/data/do2/functions/version.mcfunction index 3b4eb4bd..9641c03b 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.30 +# DATAPACK VERSION NUMBER: 0.13.31 -tellraw @s ["",{"text":"The §o§n§aBrilliance Datapack§r's version is: [§b0.13.30§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.31§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":"."}]