1
0
mirror of https://github.com/Anuken/Mindustry.git synced 2024-09-20 04:47:54 +03:00

Ignore Discord RPC exceptions

This commit is contained in:
Anuken 2021-06-20 08:48:05 -04:00
parent 12dfd71345
commit d6566830ac
2 changed files with 4 additions and 2 deletions

View File

@ -322,7 +322,9 @@ public class DesktopLauncher extends ClientLauncher{
presence.largeImageKey = "logo";
DiscordRPC.send(presence);
try{
DiscordRPC.send(presence);
}catch(Exception ignored){}
}
if(steam){

View File

@ -10,4 +10,4 @@ kapt.include.compile.classpath=false
kotlin.stdlib.default.dependency=false
#needed for android compilation
android.useAndroidX=true
archash=3a84b1671d1d53c9f4513e0a4a701913acd87f62
archash=597153aa4e4f31e166c4a03b1c7bf87e6b900344