Merge pull request #733 from manuelgu/patch-1

fix color formatting
This commit is contained in:
Alexander Söderberg 2015-11-22 22:01:28 +01:00
commit 8a1dfe46c9

View File

@ -34,7 +34,7 @@ public class DebugPaste extends SubCommand {
try {
latestLOG = HastebinUtility.upload(new File(BukkitMain.THIS.getDirectory(), "../../logs/latest.log"));
} catch (final Exception e) {
plr.sendMessage("&clatest.log is too big to be pasted, will ignore");
plr.sendMessage(ChatColor.RED + "latest.log is too big to be pasted, will ignore");
latestLOG = "too big :(";
}
final StringBuilder b = new StringBuilder();