Skip to content

Commit 544b88c

Browse files
authored
➕ Merge pull request #351 from ChenCMD/next
Fix Export with “Use Storage for Animation” enabled
2 parents ddcea5a + 55d0769 commit 544b88c

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/systems/datapackCompiler/1.20.4/animation.mcb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ dir <%export_namespace%> {
122122
function on_load {
123123
IF (use_storage_for_animation) {
124124
REPEAT (animations) as animation {
125-
data remove storage aj.<%export_namespace%>:animations <%animation.storageSafeName%>
125+
data remove storage aj.<%export_namespace%>:animations <%animation.safe_name%>
126126
}
127127
<%animationStorage.join('\n')%>
128128
}

src/systems/datapackCompiler/1.20.5/animation.mcb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ dir <%export_namespace%> {
122122
function on_load {
123123
IF (use_storage_for_animation) {
124124
REPEAT (animations) as animation {
125-
data remove storage aj.<%export_namespace%>:animations <%animation.storageSafeName%>
125+
data remove storage aj.<%export_namespace%>:animations <%animation.safe_name%>
126126
}
127127
<%animationStorage.join('\n')%>
128128
}

src/systems/datapackCompiler/1.21.2/animation.mcb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ dir <%export_namespace%> {
122122
function on_load {
123123
IF (use_storage_for_animation) {
124124
REPEAT (animations) as animation {
125-
data remove storage aj.<%export_namespace%>:animations <%animation.storageSafeName%>
125+
data remove storage aj.<%export_namespace%>:animations <%animation.safe_name%>
126126
}
127127
<%animationStorage.join('\n')%>
128128
}

src/systems/datapackCompiler/1.21.4/animation.mcb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ dir <%export_namespace%> {
122122
function on_load {
123123
IF (use_storage_for_animation) {
124124
REPEAT (animations) as animation {
125-
data remove storage aj.<%export_namespace%>:animations <%animation.storageSafeName%>
125+
data remove storage aj.<%export_namespace%>:animations <%animation.safe_name%>
126126
}
127127
<%animationStorage.join('\n')%>
128128
}

0 commit comments

Comments
 (0)