null check in parsecolors
This commit is contained in:
parent
fbbe0d6ef3
commit
fe022a02fe
|
|
@ -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()) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user