Skip to content

Commit

Permalink
fix: snapshot detection
Browse files Browse the repository at this point in the history
  • Loading branch information
HappyAreaBean committed Apr 17, 2024
1 parent 8f776db commit d17904e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/cc/happyareabean/sjm/SimpleJoinMessage.java
Original file line number Diff line number Diff line change
Expand Up @@ -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!",
Expand Down

0 comments on commit d17904e

Please sign in to comment.