null check in parsecolors
This commit is contained in:
1 parent
8fd784bba1
commit
1e0bf8b5ae
1 file changed
+1
@@ -49,6 +49,7 @@ public class Utility {
|
||||
}
|
||||
|
||||
public static String parseColors(String message) {
|
||||
if (message == null) return "";
|
||||
// split string in sections and check those vs looping hashmap?:/
|
||||
// think this is better, but will check numbers on this
|
||||
for (String key : colors.keySet()) {
|
||||
|
||||
Reference in new issue
Block a user