diff --git a/src/main/java/cc/happyareabean/sjm/SimpleJoinMessage.java b/src/main/java/cc/happyareabean/sjm/SimpleJoinMessage.java index 296e74e..7381dab 100644 --- a/src/main/java/cc/happyareabean/sjm/SimpleJoinMessage.java +++ b/src/main/java/cc/happyareabean/sjm/SimpleJoinMessage.java @@ -86,7 +86,7 @@ public void onEnable() { public void checkUpdate() { String version = getDescription().getVersion(); - if (version.endsWith("-SNAPSHOT")) { + if (version.contains("-SNAPSHOT")) { Arrays.asList( "******************************************", "You are currently using development build of SimpleJoinMessage!",