Skip to content

Commit 5032016

Browse files
committed
🩹 Fix global/root/on_load executing before #global/on_load
1 parent 0bdb7f2 commit 5032016

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/systems/datapackCompiler/1.20.4/global.mcb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ dir global {
1212

1313
# Purposefully load gu first, as other functions depend on it.
1414
function *global/gu/on_load
15+
function #*global/on_load
1516
IF (debug_mode) {
1617
scoreboard players reset * <%OBJECTIVES.IS_RIG_LOADED()%>
1718
execute as @e[type=item_display,tag=<%TAGS.GLOBAL_ROOT()%>] at @s run function *global/root/on_load
1819
}
19-
function #*global/on_load
2020
}
2121

2222
IF (debug_mode) {

0 commit comments

Comments
 (0)