diff options
Diffstat (limited to 'mod/src/main/java')
-rw-r--r-- | mod/src/main/java/kr/syeyoung/dungeonsguide/mod/discord/DiscordIntegrationManager.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/discord/DiscordIntegrationManager.java b/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/discord/DiscordIntegrationManager.java index 35684242..f25515ca 100644 --- a/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/discord/DiscordIntegrationManager.java +++ b/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/discord/DiscordIntegrationManager.java @@ -23,6 +23,7 @@ import com.jagrosh.discordipc.IPCListener; import com.jagrosh.discordipc.entities.Callback; import com.jagrosh.discordipc.entities.Packet; import com.jagrosh.discordipc.entities.pipe.PipeStatus; +import com.jagrosh.discordipc.exceptions.NoDiscordClientException; import kr.syeyoung.dungeonsguide.mod.DungeonsGuide; import kr.syeyoung.dungeonsguide.mod.SkyblockStatus; import kr.syeyoung.dungeonsguide.mod.dungeon.DungeonContext; @@ -125,6 +126,7 @@ public class DiscordIntegrationManager implements IPCListener { ipcClient.send(new JSONObject().put("cmd", "GET_RELATIONSHIPS"), new Callback(this::onRelationshipLoad)); ipcClient.setListener(this); System.out.println("Connecting"); + } catch (NoDiscordClientException ignored) { } catch (Throwable t) { t.printStackTrace(); } |