Made some changes for javadoc generation

This commit is contained in:
ProSavage 2018-08-28 21:07:51 -05:00
parent e31e6eca88
commit 72746f5b4e
1 changed files with 3 additions and 1 deletions

View File

@ -50,7 +50,9 @@ public class TextUtil {
char[] chars = first.toCharArray();
for (int i = 0; i < chars.length; i++) {
if (chars[i] == '§') {
// changed this so javadocs wont throw an error
String compareChar = chars[i] + "";
if (compareChar.equals("§")) {
if (color != null) {
if (color.isColor()) {
message.then(text).color(color);