mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-17 21:33:49 -07:00
Bulk pending cleanup.
This commit is contained in:
@@ -10,8 +10,7 @@ public class TextWrapper {
|
||||
String[] lines = text.split("\n");
|
||||
String lastColor = null;
|
||||
|
||||
for (int i = 0; i < lines.length; i++) {
|
||||
String line = lines[i];
|
||||
for (String line : lines) {
|
||||
if (lastColor != null) {
|
||||
line = lastColor + line;
|
||||
}
|
||||
@@ -22,4 +21,4 @@ public class TextWrapper {
|
||||
|
||||
return output;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user