Skip to content

Commit 6310c5a

Browse files
committed
Small function path fixes
1 parent 1eed6e2 commit 6310c5a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

exporters/datapackExporter/exporter/gen/functions.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ export function generateFunctions(folders: IFolders) {
498498
: `execute at @s on passengers run function ${G.INTERNAL_PATH}/summon/as_rig_entities`,
499499
...G.VARIANTS.map(
500500
v =>
501-
`execute if score #variant ${G.SCOREBOARD.i} = $aj.${G.PROJECT_NAME}.variant.${v.name} ${G.SCOREBOARD.id} run function ${G.INTERNAL_PATH}/apply_variant/${v.name}_as_root`
501+
`execute if score #variant ${G.SCOREBOARD.i} = $aj.${G.PROJECT_NAME}.variant.${v.name} ${G.SCOREBOARD.id} run function ${G.INTERNAL_PATH}/apply_variant/${v.name}/as_root`
502502
),
503503
`execute if score #animation ${G.SCOREBOARD.i} matches 0.. run scoreboard players operation @s ${G.SCOREBOARD.animTime} = #frame ${G.SCOREBOARD.i}`,
504504
...G.exportData.renderedAnimations
@@ -726,7 +726,7 @@ export function generateFunctions(folders: IFolders) {
726726
// ANCHOR - function G.INTERNAL_PATH:animations/pause_all_as_root
727727
.chainNewFile('pause_all_as_root.mcfunction', [
728728
...G.exportData.renderedAnimations.map(
729-
a => `function ${G.INTERNAL_PATH}/animations/${a.name}/pause`
729+
a => `function ${G.INTERNAL_PATH}/animations/${a.name}/pause_as_root`
730730
),
731731
])
732732
}

0 commit comments

Comments
 (0)