Skip to content

Commit a560582

Browse files
authored
🐛 Revert "Avoid unsupported attribute usage"
Turns out it is supported, just not used anywhere else. I implemented it in mcdoc-ts-generator today.
1 parent d94323a commit a560582

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/data/timeline.mcdoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ dispatch minecraft:resource[timeline] to struct Timeline {
1313
struct TimeMarkerMap {
1414
// TODO: tie the time markers to the world clock
1515
/// Time marker ID must be unique within the world clock.
16-
[string]: (int @ 0.. | TimeMarker),
16+
[#[id] string]: (int @ 0.. | TimeMarker),
1717
}
1818

1919
struct TimeMarker {

0 commit comments

Comments
 (0)