Skip to content

Commit c829397

Browse files
committed
🛠️ Fix #223
1 parent b56ff21 commit c829397

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/systems/datapackCompiler/animation.mcb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -632,6 +632,11 @@ dir <%export_namespace%> {
632632
}
633633
}
634634
}
635+
REPEAT (Object.values(rig.nodeMap).filter(v => v.type === 'camera' && v.config?.use_entity)) as camera {
636+
block zzz/kill { with entity @s data.cameras.<%camera.name%>
637+
$execute as $(uuid) run kill @s
638+
}
639+
}
635640
}
636641

637642
execute on passengers run kill @s

0 commit comments

Comments
 (0)