File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/main/java/io/github/techstreet/dfscript/features Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -20,11 +20,11 @@ public void load() {
2020 int versionsBehind = latestVersion - currentVersion ;
2121
2222 if (versionsBehind >= 1 ) {
23- MutableText message = (LiteralText ) Text .of ("" )
24- .append ((LiteralText ) Text .of (String .format ("You are currently on build #%s of DFScript, which is %s versions behind the latest (%s). " ,
25- currentVersion , versionsBehind , latestVersion ))
23+ MutableText message = (( LiteralText ) Text .of ("" ) )
24+ .append ((( LiteralText ) Text .of (String .format ("You are currently on build #%s of DFScript, which is %s versions behind the latest (%s). " ,
25+ currentVersion , versionsBehind , latestVersion )))
2626 .styled (style -> style .withColor (Formatting .YELLOW )))
27- .append ((LiteralText ) Text .of "Click here to download the latest version!" )
27+ .append ((( LiteralText ) Text .of ( "Click here to download the latest version!" ) )
2828 .styled (style -> {
2929 style .withClickEvent (new ClickEvent (ClickEvent .Action .OPEN_URL , "https://github.com/TechStreetDev/DFScript/releases/latest" ));
3030 style .withColor (Formatting .AQUA );
You can’t perform that action at this time.
0 commit comments