Skip to content

Commit 1432d3d

Browse files
committed
🛠️ Fix Variant keyframes running in wrong context
1 parent d75ef0c commit 1432d3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/systems/datapackCompiler/animation.mcb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ dir <%export_namespace%> {
365365
if (frame.variant) {
366366
const variant = variants.find(v => v.uuid === frame.variant.uuid)
367367
if (!variant) return
368-
emit.mcb(`function *${export_namespace}/variants/${variant.name}/apply`)
368+
emit.mcb(`execute on vehicle run function *${export_namespace}/variants/${variant.name}/apply`)
369369
}
370370
global.merged = {
371371
locators: {},

0 commit comments

Comments
 (0)