File tree Expand file tree Collapse file tree 4 files changed +20
-24
lines changed
src/systems/datapackCompiler Expand file tree Collapse file tree 4 files changed +20
-24
lines changed Original file line number Diff line number Diff line change @@ -125,13 +125,12 @@ dir <%export_namespace%> {
125
125
data remove storage aj.<%export_namespace%>:animations <%animation.storageSafeName%>
126
126
}
127
127
<%animationStorage.join('\n')%>
128
- } ELSE {
129
- <%%
130
- animations.forEach(animation => {
131
- emit(`scoreboard objectives add ${OBJECTIVES.FRAME(animation.safe_name)} dummy`)
132
- })
133
- %%>
134
128
}
129
+ <%%
130
+ animations.forEach(animation => {
131
+ emit(`scoreboard objectives add ${OBJECTIVES.FRAME(animation.safe_name)} dummy`)
132
+ })
133
+ %%>
135
134
}
136
135
137
136
dir root {
Original file line number Diff line number Diff line change @@ -125,13 +125,12 @@ dir <%export_namespace%> {
125
125
data remove storage aj.<%export_namespace%>:animations <%animation.storageSafeName%>
126
126
}
127
127
<%animationStorage.join('\n')%>
128
- } ELSE {
129
- <%%
130
- animations.forEach(animation => {
131
- emit(`scoreboard objectives add ${OBJECTIVES.FRAME(animation.safe_name)} dummy`)
132
- })
133
- %%>
134
128
}
129
+ <%%
130
+ animations.forEach(animation => {
131
+ emit(`scoreboard objectives add ${OBJECTIVES.FRAME(animation.safe_name)} dummy`)
132
+ })
133
+ %%>
135
134
}
136
135
137
136
dir root {
Original file line number Diff line number Diff line change @@ -125,13 +125,12 @@ dir <%export_namespace%> {
125
125
data remove storage aj.<%export_namespace%>:animations <%animation.storageSafeName%>
126
126
}
127
127
<%animationStorage.join('\n')%>
128
- } ELSE {
129
- <%%
130
- animations.forEach(animation => {
131
- emit(`scoreboard objectives add ${OBJECTIVES.FRAME(animation.safe_name)} dummy`)
132
- })
133
- %%>
134
128
}
129
+ <%%
130
+ animations.forEach(animation => {
131
+ emit(`scoreboard objectives add ${OBJECTIVES.FRAME(animation.safe_name)} dummy`)
132
+ })
133
+ %%>
135
134
}
136
135
137
136
dir root {
Original file line number Diff line number Diff line change @@ -125,13 +125,12 @@ dir <%export_namespace%> {
125
125
data remove storage aj.<%export_namespace%>:animations <%animation.storageSafeName%>
126
126
}
127
127
<%animationStorage.join('\n')%>
128
- } ELSE {
129
- <%%
130
- animations.forEach(animation => {
131
- emit(`scoreboard objectives add ${OBJECTIVES.FRAME(animation.safe_name)} dummy`)
132
- })
133
- %%>
134
128
}
129
+ <%%
130
+ animations.forEach(animation => {
131
+ emit(`scoreboard objectives add ${OBJECTIVES.FRAME(animation.safe_name)} dummy`)
132
+ })
133
+ %%>
135
134
}
136
135
137
136
dir root {
You can’t perform that action at this time.
0 commit comments