diff --git a/src/main/java/me/totalfreedom/tfguilds/guild/GuildState.java b/src/main/java/me/totalfreedom/tfguilds/guild/GuildState.java index c4318cd..5013dba 100644 --- a/src/main/java/me/totalfreedom/tfguilds/guild/GuildState.java +++ b/src/main/java/me/totalfreedom/tfguilds/guild/GuildState.java @@ -18,6 +18,8 @@ public enum GuildState public static GuildState findState(String string) { + if (string == null) + return null; switch (string.toLowerCase()) { case "open":