Skip to content
This repository was archived by the owner on Nov 28, 2025. It is now read-only.

Commit 1f7850e

Browse files
committed
fix a small issue
- update qsl
1 parent a194e62 commit 1f7850e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ loader_version = 0.17.1-beta.6
1111
qsl_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
1717
version = 2.1.2+1.19

src/main/java/io/github/axolotlclient/util/Util.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
import java.util.Collections;
3737
import java.util.HashMap;
3838
import java.util.List;
39+
import java.util.Locale;
3940
import java.util.Objects;
4041
import java.util.concurrent.ScheduledThreadPoolExecutor;
4142
import 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("--------")){

0 commit comments

Comments
 (0)