Skip to content

Commit

Permalink
change: don't download discord library if not enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
acrylic-style committed Jul 23, 2024
1 parent ae145f5 commit 60f1477
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public static void init(boolean discordRpc) {
*/
public static void init(@NotNull String clientId, boolean discordRpc) {
if (init) return;
if (!downloadedLibrary) {
if (discordRpc && !downloadedLibrary) {
downloadAndLoadLibrary();
downloadedLibrary = true;
}
Expand Down

0 comments on commit 60f1477

Please sign in to comment.