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%> {
125125 data remove storage aj.<%export_namespace%>:animations <%animation.storageSafeName%>
126126 }
127127 <%animationStorage.join('\n')%>
128- } ELSE {
129- <%%
130- animations.forEach(animation => {
131- emit(`scoreboard objectives add ${OBJECTIVES.FRAME(animation.safe_name)} dummy`)
132- })
133- %%>
134128 }
129+ <%%
130+ animations.forEach(animation => {
131+ emit(`scoreboard objectives add ${OBJECTIVES.FRAME(animation.safe_name)} dummy`)
132+ })
133+ %%>
135134 }
136135
137136 dir root {
Original file line number Diff line number Diff line change @@ -125,13 +125,12 @@ dir <%export_namespace%> {
125125 data remove storage aj.<%export_namespace%>:animations <%animation.storageSafeName%>
126126 }
127127 <%animationStorage.join('\n')%>
128- } ELSE {
129- <%%
130- animations.forEach(animation => {
131- emit(`scoreboard objectives add ${OBJECTIVES.FRAME(animation.safe_name)} dummy`)
132- })
133- %%>
134128 }
129+ <%%
130+ animations.forEach(animation => {
131+ emit(`scoreboard objectives add ${OBJECTIVES.FRAME(animation.safe_name)} dummy`)
132+ })
133+ %%>
135134 }
136135
137136 dir root {
Original file line number Diff line number Diff line change @@ -125,13 +125,12 @@ dir <%export_namespace%> {
125125 data remove storage aj.<%export_namespace%>:animations <%animation.storageSafeName%>
126126 }
127127 <%animationStorage.join('\n')%>
128- } ELSE {
129- <%%
130- animations.forEach(animation => {
131- emit(`scoreboard objectives add ${OBJECTIVES.FRAME(animation.safe_name)} dummy`)
132- })
133- %%>
134128 }
129+ <%%
130+ animations.forEach(animation => {
131+ emit(`scoreboard objectives add ${OBJECTIVES.FRAME(animation.safe_name)} dummy`)
132+ })
133+ %%>
135134 }
136135
137136 dir root {
Original file line number Diff line number Diff line change @@ -125,13 +125,12 @@ dir <%export_namespace%> {
125125 data remove storage aj.<%export_namespace%>:animations <%animation.storageSafeName%>
126126 }
127127 <%animationStorage.join('\n')%>
128- } ELSE {
129- <%%
130- animations.forEach(animation => {
131- emit(`scoreboard objectives add ${OBJECTIVES.FRAME(animation.safe_name)} dummy`)
132- })
133- %%>
134128 }
129+ <%%
130+ animations.forEach(animation => {
131+ emit(`scoreboard objectives add ${OBJECTIVES.FRAME(animation.safe_name)} dummy`)
132+ })
133+ %%>
135134 }
136135
137136 dir root {
You can’t perform that action at this time.
0 commit comments