fix(content): indent world datapack previews
This commit is contained in:
1 parent
30a9f60830
commit
fb976f1cb9
2 files changed
+6
-3
No files matched your search
@@ -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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user