fix(content): indent world datapack previews

This commit is contained in:
objz committed 2026-08-04 20:15:02 +02:00
1 parent 30a9f60830
commit fb976f1cb9
2 files changed
+6 -3

No files matched your search

+2 -2
View File
@@ -2114,10 +2114,10 @@ fn world_descriptions(details: &WorldDetails) -> Vec<String> {
.datapacks
.iter()
.take(3)
.map(|name| format!("• {name}")),
.map(|name| format!(" • {name}")),
);
if details.datapacks.len() > 3 {
lines.push(format!("+{} more", details.datapacks.len() - 3));
lines.push(format!(" +{} more", details.datapacks.len() - 3));
}
lines
}