Bulk pending cleanup.

By: Wesley Wolfe <weswolf@aol.com>
This commit is contained in:
CraftBukkit/Spigot
2012-09-09 23:19:28 -05:00
parent bc59fff79a
commit 2a57bac117
24 changed files with 45 additions and 52 deletions

View File

@@ -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;
}
}
}