Ignore Discord RPC exceptions
This commit is contained in:
@@ -322,7 +322,9 @@ public class DesktopLauncher extends ClientLauncher{
|
|||||||
|
|
||||||
presence.largeImageKey = "logo";
|
presence.largeImageKey = "logo";
|
||||||
|
|
||||||
DiscordRPC.send(presence);
|
try{
|
||||||
|
DiscordRPC.send(presence);
|
||||||
|
}catch(Exception ignored){}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(steam){
|
if(steam){
|
||||||
|
|||||||
@@ -10,4 +10,4 @@ kapt.include.compile.classpath=false
|
|||||||
kotlin.stdlib.default.dependency=false
|
kotlin.stdlib.default.dependency=false
|
||||||
#needed for android compilation
|
#needed for android compilation
|
||||||
android.useAndroidX=true
|
android.useAndroidX=true
|
||||||
archash=3a84b1671d1d53c9f4513e0a4a701913acd87f62
|
archash=597153aa4e4f31e166c4a03b1c7bf87e6b900344
|
||||||
|
|||||||
Reference in New Issue
Block a user