aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/kr/syeyoung/dungeonsguide/rpc/RichPresenceManager.java
diff options
context:
space:
mode:
authorsyeyoung <cyong06@naver.com>2021-08-11 15:43:43 +0900
committersyeyoung <cyong06@naver.com>2021-08-11 15:43:43 +0900
commit21ec99c3e45e4557e228d026c148207b1227c14b (patch)
tree6b9972492da511c351cc07a9d215dd3b0ab77def /src/main/java/kr/syeyoung/dungeonsguide/rpc/RichPresenceManager.java
parenta48cb5c96e16fae589cb7d4f09146a17b3787924 (diff)
downloadSkyblock-Dungeons-Guide-21ec99c3e45e4557e228d026c148207b1227c14b.tar.gz
Skyblock-Dungeons-Guide-21ec99c3e45e4557e228d026c148207b1227c14b.tar.bz2
Skyblock-Dungeons-Guide-21ec99c3e45e4557e228d026c148207b1227c14b.zip
- X Started playing skyblock alarm
- Better Scrollbar - Modal Message - Inviting Friends in discord
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/rpc/RichPresenceManager.java')
-rw-r--r--src/main/java/kr/syeyoung/dungeonsguide/rpc/RichPresenceManager.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/rpc/RichPresenceManager.java b/src/main/java/kr/syeyoung/dungeonsguide/rpc/RichPresenceManager.java
index 23f8433d..523dbf2c 100644
--- a/src/main/java/kr/syeyoung/dungeonsguide/rpc/RichPresenceManager.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/rpc/RichPresenceManager.java
@@ -67,7 +67,6 @@ public class RichPresenceManager implements Runnable {
public int setup() {
System.out.println("SETUP!!! "+ iDiscordCore);
if (iDiscordCore != null) {
- System.out.println("DETROYED");
iDiscordCore.Destroy.destroy(iDiscordCore);
activityManager = null; callbacks = null; relation_callbacks = null; relationMap.clear();
}
@@ -123,7 +122,6 @@ public class RichPresenceManager implements Runnable {
relation_callbacks.OnRelationshipUpdate = (p, rel) -> {
JDiscordRelation jDiscordRelation = JDiscordRelation.fromJNA(rel);
JDiscordRelation prev = relationMap.put(jDiscordRelation.getDiscordUser().getId(), jDiscordRelation);
- System.out.println("Discord relation update!! "+jDiscordRelation);
try {
MinecraftForge.EVENT_BUS.post(new DiscordUserUpdateEvent(prev, jDiscordRelation));
} catch (Throwable t) {