Skip to content

Commit ba1a63b

Browse files
Fix users in China being unable to use the mod
- China seems to block https://raw.githubusercontent.com/ so the localized string download fails with a NXDOMAIN error. - This fix makes language file downloads non-essential for the time being so sba can still launch.
1 parent 7086c94 commit ba1a63b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/codes/biscuit/skyblockaddons/utils/data/requests/LocalizedStringsRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public LocalizedStringsRequest(@NonNull Language language) {
2121
"https://raw.githubusercontent.com/BiscuitDevelopment/SkyblockAddons/development/src/main/resources/lang/%s.json",
2222
language.getPath()),
2323
new JSONResponseHandler<>(JsonObject.class),
24-
true, true);
24+
false, true);
2525
LANGUAGE = language;
2626
}
2727

0 commit comments

Comments
 (0)