@@ -314,11 +314,11 @@ dir <%export_namespace%> {
314314 IF (['bone', 'text_display', 'item_display', 'block_display'].includes(node.type)) {
315315 $execute on passengers run \
316316 data modify entity @s[tag=<%TAGS.PROJECT_NODE_NAMED(export_namespace, node.path_name)%>] {} merge from \
317- storage aj.<%export_namespace%>:animations <%animation.storage_name%>.$(frame).<%node.type + '_' + node.storage_name%>
317+ storage aj.<%export_namespace%>:animations <%animation.storage_name%>.$(frame).<%node.type.charAt(0) + '_' + node.storage_name%>
318318 } ELSE IF (['locator', 'camera'].includes(node.type)) {
319319 $execute on passengers if entity @s[tag=<%TAGS.GLOBAL_DATA()%>] run \
320320 data modify entity @s data.<%node.type + 's.' + node.storage_name%> merge from \
321- storage aj.<%export_namespace%>:animations <%animation.storage_name%>.$(frame).<%node.type + '_' + node.storage_name%>
321+ storage aj.<%export_namespace%>:animations <%animation.storage_name%>.$(frame).<%node.type.charAt(0) + '_' + node.storage_name%>
322322 }
323323 }
324324 IF (animation.frames.some(v => v.variant)) {
@@ -339,11 +339,11 @@ dir <%export_namespace%> {
339339 IF (['bone', 'text_display', 'item_display', 'block_display'].includes(node.type)) {
340340 $execute on passengers if entity @s[tag=<%TAGS.PROJECT_NODE_NAMED(export_namespace, node.path_name)%>] run \
341341 data modify entity @s {} merge from \
342- storage aj.<%export_namespace%>:animations <%animation.storage_name%>.$(frame).<%node.type + '_' + node.storage_name%>
342+ storage aj.<%export_namespace%>:animations <%animation.storage_name%>.$(frame).<%node.type.charAt(0) + '_' + node.storage_name%>
343343 } ELSE IF (['locator', 'camera'].includes(node.type)) {
344344 $execute on passengers if entity @s[tag=<%TAGS.GLOBAL_DATA()%>] run \
345345 data modify entity @s data.<%node.type + 's.' + node.storage_name%> merge from \
346- storage aj.<%export_namespace%>:animations <%animation.storage_name%>.$(frame).<%node.type + '_' + node.storage_name%>
346+ storage aj.<%export_namespace%>:animations <%animation.storage_name%>.$(frame).<%node.type.charAt(0) + '_' + node.storage_name%>
347347 }
348348 }
349349 IF (animation.frames.some(v => v.variant)) {
0 commit comments