This repository was archived by the owner on Nov 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
src/main/java/io/github/axolotlclient/util Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ loader_version = 0.17.1-beta.6
1111qsl_version = 2.0.0-beta.8
1212
1313# Quilted Fabric API
14- quilted_fabric_api_version = 2.0.0-beta.5 +0.57 .0
14+ quilted_fabric_api_version = 2.0.0-beta.9 +0.58 .0
1515
1616# Mod Properties
1717version = 2.1.2+1.19
Original file line number Diff line number Diff line change 3636import java .util .Collections ;
3737import java .util .HashMap ;
3838import java .util .List ;
39+ import java .util .Locale ;
3940import java .util .Objects ;
4041import java .util .concurrent .ScheduledThreadPoolExecutor ;
4142import java .util .concurrent .ThreadPoolExecutor ;
@@ -74,7 +75,7 @@ public static String getGame(){
7475
7576 if (sidebar .isEmpty ()) game = "" ;
7677 else if (MinecraftClient .getInstance ().getCurrentServerEntry () != null && MinecraftClient .getInstance ().getCurrentServerEntry ().address .toLowerCase ().contains (sidebar .get (0 ).toLowerCase ())){
77- if ( sidebar .get (sidebar .size () -1 ).contains (MinecraftClient .getInstance ().getCurrentServerEntry ().address ) || sidebar .get (sidebar .size ()-1 ).contains ("Playtime" )){
78+ if ( sidebar .get (sidebar .size () -1 ).toLowerCase ( Locale . ROOT ). contains (MinecraftClient .getInstance ().getCurrentServerEntry ().address . toLowerCase ( Locale . ROOT ) ) || sidebar .get (sidebar .size ()-1 ).contains ("Playtime" )){
7879 game = "In Lobby" ;
7980 } else {
8081 if (sidebar .get (sidebar .size ()-1 ).contains ("--------" )){
You can’t perform that action at this time.
0 commit comments