File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
exporters/datapackExporter/exporter/gen Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -715,17 +715,17 @@ export function generateFunctions(folders: IFolders) {
715715 G . exportData . exporterSettings . include_pause_all_animations_function . value === true
716716 ) {
717717 animationsFolder
718- // ANCHOR - function G.PROJECT_PATH:animations/pause_all_animations
719- . chainNewFile ( 'pause_all_animations .mcfunction' , [
720- `execute if entity @s[tag=${ G . TAGS . rootEntity } ] run function ${ G . INTERNAL_PATH } /animations/pause_all_animations_as_root ` ,
718+ // ANCHOR - function G.PROJECT_PATH:animations/pause_all
719+ . chainNewFile ( 'pause_all .mcfunction' , [
720+ `execute if entity @s[tag=${ G . TAGS . rootEntity } ] run function ${ G . INTERNAL_PATH } /animations/pause_all_as_root ` ,
721721 `execute if entity @s[tag=!${ G . TAGS . rootEntity } ] run tellraw @a ${ formatStr (
722722 G . TEXT . errorMustBeRunAsRoot . toString ( ) ,
723- [ `${ G . PROJECT_PATH } /animations/pause_all_animations ` ]
723+ [ `${ G . PROJECT_PATH } /animations/pause_all ` ]
724724 ) } `,
725725 ] )
726726 internalAnimationsFolder
727- // ANCHOR - function G.INTERNAL_PATH:animations/pause_all_animations_as_root
728- . chainNewFile ( 'pause_all_animations_as_root .mcfunction' , [
727+ // ANCHOR - function G.INTERNAL_PATH:animations/pause_all_as_root
728+ . chainNewFile ( 'pause_all_as_root .mcfunction' , [
729729 ...G . exportData . renderedAnimations . map (
730730 a => `function ${ G . INTERNAL_PATH } /animations/${ a . name } /pause`
731731 ) ,
You can’t perform that action at this time.
0 commit comments