File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
src/main/java/net/coreprotect/command Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -39,9 +39,13 @@ public void run() {
3939 String versionCheck = "" ;
4040 if (Config .getGlobal ().CHECK_UPDATES ) {
4141 String latestVersion = NetworkHandler .latestVersion ();
42+ String latestEdgeVersion = NetworkHandler .latestEdgeVersion ();
4243 if (latestVersion != null ) {
4344 versionCheck = " (" + Phrase .build (Phrase .LATEST_VERSION , "v" + latestVersion ) + ")" ;
4445 }
46+ else if (latestEdgeVersion != null && !VersionUtils .isCommunityEdition ()) {
47+ versionCheck = " (" + Phrase .build (Phrase .LATEST_VERSION , "v" + latestEdgeVersion ) + ")" ;
48+ }
4549 }
4650
4751 Chat .sendMessage (player , Color .WHITE + "----- " + Color .DARK_AQUA + "CoreProtect" + (VersionUtils .isCommunityEdition () ? " " + ConfigHandler .COMMUNITY_EDITION : "" ) + Color .WHITE + " -----" );
You can’t perform that action at this time.
0 commit comments